linearly v0.32.0Docs


linearly v0.32.0 / vec2 / approxEquals

Function: approxEquals()

approxEquals(a, b): boolean

Returns whether or not the vectors have approximately the same elements in the same position.

Parameters

a: vec2

b: vec2

Returns

boolean

Shorthands

Defined in

src/vec2.ts:888open in new window