[][src]Function nalgebra_glm::greater_than

pub fn greater_than<N: Number, D: Dimension>(
    x: &TVec<N, D>,
    y: &TVec<N, D>
) -> TVec<bool, D> where
    DefaultAllocator: Alloc<N, D>, 

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: