rusty_engine::prelude::glm
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.
true
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));
all
not