eq

fun eq(other: Vec3, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean(source)

Checks if two vectors are equal within a specified tolerance.

Return

True if the vectors are equal within the tolerance, false otherwise.

Parameters

other

The other vector to compare with.

equivalence

The tolerance used for comparison. Default is DEFAULT_DOUBLE_EQUIVALENCE.