nalgebra_glm

pub fn vec1<N: Scalar>(x: N) -> TVec1<N>

Creates a new 1D vector.

Construct a vector of bools:

bool

let v = glm::vec1(true);