Skip to content

Intermact API Reference / @intermact/core / normalizeScale3

Function: normalizeScale3()

normalizeScale3(scale): Vec3

Defined in: packages/core/src/runtime/state.ts:203

Normalize a scalar-or-tuple 3D scale into a Vec3.

Parameters

scale

number | Vec3 | undefined

Returns

Vec3

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)