Skip to content

distance

distance(point1, point2): number

Distance between two points

Parameters

point1: number[]

point2: number[]

Returns

number

Source

graphics/geometry.ts:139