Function nalgebra_glm::vec1

source ·
pub fn vec1<T: Scalar>(x: T) -> TVec1<T>
Expand description

Creates a new 1D vector.

Examples:

Construct a vector of bools:

let v = glm::vec1(true);