[][src]Function nalgebra_glm::vec1

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

Creates a new 1D vector.

Examples:

Construct a vector of bools:

let v = glm::vec1(true);