Function vecmath::vec2_cast [−] [src]

pub fn vec2_cast<T, U>(a: Vector2<T>) -> Vector2<U> where T: Copy + Cast<U>

Converts to another vector type.