Function all
Source pub fn all<const D: usize>(
v: &Matrix<bool, Const<D>, Const<1>, ArrayStorage<bool, D, 1>>,
) -> bool
Expand description
Checks that all the vector components are true.
§Examples:
let vec = glm::vec2(true, false);
assert_eq!(false, glm::all(&vec));
let vec = glm::vec2(true, true);
assert_eq!(true, glm::all(&vec));
§See also: