[][src]Function nalgebra_glm::less_than_equal

pub fn less_than_equal<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::vec3(true, false, true),
           glm::less_than_equal(&glm::vec3(1.0, 3.0, 4.0),
                                &glm::vec3(1.0, 2.0, 5.0)));

See also: