Function cgmath::vec2
[−]
[src]
pub fn vec2<S>(x: S, y: S) -> Vector2<S>
The short constructor.
pub fn vec2<S>(x: S, y: S) -> Vector2<S>
The short constructor.