Function less_than

Source
pub fn less_than<T, const D: usize>(
    x: &Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>,
    y: &Matrix<T, Const<D>, Const<1>, ArrayStorage<T, D, 1>>,
) -> Matrix<bool, Const<D>, Const<1>, ArrayStorage<bool, D, 1>>
where T: Number,
Expand description

Component-wise < comparison.

§Examples:

assert_eq!(glm::vec3(false, false, true),
           glm::less_than(&glm::vec3(1.0, 3.0, 4.0),
                          &glm::vec3(1.0, 2.0, 5.0)));

§See also: