[][src]Function nalgebra_glm::all

pub fn all<D: Dimension>(v: &TVec<bool, D>) -> bool where
    DefaultAllocator: Alloc<bool, D>, 

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: