Function not

Source
pub fn not<const D: usize>(
    v: &Matrix<bool, Const<D>, Const<1>, ArrayStorage<bool, D, 1>>,
) -> Matrix<bool, Const<D>, Const<1>, ArrayStorage<bool, D, 1>>
Expand description

Component-wise not !.

§Examples:

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

§See also: