approxEqual

Returns true if the distance between the given two point is less than eps.

bool
approxEqual
(
T
)
(
const Quaternion!(T) a
,
const Quaternion!(T) b
,
T eps = 1e-5
)

Parameters

a Quaternion!(T)

target point

b Quaternion!(T)

target point

eps T

criteria of approximation

Return Value

Type: bool

true if 2 vectors are approximately equal.

Meta