Documentation / @sw-file-lib/core / math / vec3
Function: vec3()
ts
function vec3(val?: Partial<ReadonlyVec3>): Vec3;Defined in: math/vec3.ts:20
Create a full vector from a partial value, using 0 for omitted components.
Parameters
| Parameter | Type |
|---|---|
val? | Partial<ReadonlyVec3> |