[]Function rusty_engine::prelude::glm::any

pub fn any<D>(
    v: &Matrix<bool, D, U1, <DefaultAllocator as Allocator<bool, D, U1>>::Buffer>
) -> bool where
    D: Dimension,
    DefaultAllocator: Alloc<bool, D, U1>, 

Checks that at least one of the vector components is true.

Examples:

let vec = glm::vec2(true, false);
assert_eq!(true, glm::any(&vec));

let vec = glm::vec2(true, true);
assert_eq!(true, glm::any(&vec));

let vec = glm::vec2(false, false);
assert_eq!(false, glm::any(&vec));

See also: