use na::{Real, U4}; use aliases::{Qua, Vec}; /// Componentwise equality comparison between two quaternions. pub fn equal(x: &Qua, y: &Qua) -> Vec { ::equal(&x.coords, &y.coords) } /// Componentwise approximate equality comparison between two quaternions. pub fn equal_eps(x: &Qua, y: &Qua, epsilon: N) -> Vec { ::equal_eps(&x.coords, &y.coords, epsilon) } /// Componentwise non-equality comparison between two quaternions. pub fn not_equal(x: &Qua, y: &Qua) -> Vec { ::not_equal(&x.coords, &y.coords) } /// Componentwise approximate non-equality comparison between two quaternions. pub fn not_equal_eps(x: &Qua, y: &Qua, epsilon: N) -> Vec { ::not_equal_eps(&x.coords, &y.coords, epsilon) }