Function cgmath::vec2[][src]

pub const fn vec2<S>(x: S, y: S) -> Vector2<S>
Expand description

The short constructor.