Skip to content

getUnitVector

getUnitVector(v): Point

Parameters

v: Point

Returns

Point

vector representing the unit vector pointing to the direction of v

Defined in

src/util/misc/vectors.ts:54