Skip to content

Intermact API Reference / @intermact/core / packVec3

Function: packVec3()

packVec3(points): Float32Array

Defined in: packages/core/src/geometry/provider3d.ts:86

Pack an array of Vec3 into a flat interleaved Float32Array.

Parameters

points

readonly Vec3[]

Returns

Float32Array

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