Skip to content

getUnitVector

getUnitVector(v): Point

Defined in: src/util/misc/vectors.ts:54

Parameters

v

Point

Returns

Point

vector representing the unit vector pointing to the direction of v