Function vec2_cast

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

Converts to another vector type.