[]Function rusty_engine::prelude::glm::equal

pub fn equal<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 equality comparison.

Examples:

assert_eq!(glm::vec2(true, false),
           glm::equal(&glm::vec2(1.0, 3.0),
                      &glm::vec2(1.0, 2.0)));

See also: