@twinfinity/geometryFunctionsvec2Equalsvec2Equals Callablevec2Equals(a: Vec2, b: Vec2, epsilon?: number): booleanReturns true if all components of a and b are within epsilon.Parametersa: Vec2b: Vec2epsilon: number = EQUALITY_EPSILONReturns boolean
Returns
trueif all components ofaandbare withinepsilon.