Documentation / @sw-file-lib/core / math / normalizeVec3
Function: normalizeVec3()
ts
function normalizeVec3(v: ReadonlyVec3): Vec3;Defined in: math/vec3.ts:88
Return a unit-length vector in the same direction as v.
Parameters
| Parameter | Type |
|---|---|
v | ReadonlyVec3 |