[][src]Function nalgebra_glm::not

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

Component-wise not !.

Examples:

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

See also: