Function greater_than

Source
pub fn greater_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::vec2(false, true),
           glm::greater_than(&glm::vec2(1.0, 3.0),
                             &glm::vec2(1.0, 2.0)));

§See also: