sm.vec3.fuzzyEquals

Compare vectors with threshold FLT_EPSILON.

Kind: Function

Environments: Game, Terrain

Game

sm.vec3.fuzzyEquals( v1, v2 )

Open the full Game reference

Parameters:

Name Type Description
v1 Vec3 The first vector.
v2 Vec3 The second vector.

Returns:

Type Description
boolean The result of the comparison.

Terrain

sm.vec3.fuzzyEquals( v1, v2 )

Open the full Terrain reference

Parameters:

Name Type Description
v1 Vec3 The first vector.
v2 Vec3 The second vector.

Returns:

Type Description
boolean The result of the comparison.