Skip to content

createVector

createVector(from, to): Point

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

Creates a vector from points represented as a point

Parameters

from

XY

to

XY

Returns

Point

vector