[]Function rusty_engine::prelude::glm::less_than

pub fn less_than<N, D>(
    x: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>,
    y: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<bool, D, U1, <DefaultAllocator as Allocator<bool, D, U1>>::Buffer> where
    D: Dimension,
    N: Number,
    DefaultAllocator: Alloc<N, D, U1>, 

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: