Function nalgebra_glm::not

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

Component-wise not !.

Examples:

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

See also: