nalgebra_glm
pub fn any<D: Dimension>(v: &TVec<bool, D>) -> bool where DefaultAllocator: Alloc<bool, D>,
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