[−][src]Function graphics::math::cast
pub fn cast<T, U>(a: [T; 2]) -> [U; 2] where
T: Copy + Cast<U>,
Converts to another vector type.
pub fn cast<T, U>(a: [T; 2]) -> [U; 2] where
T: Copy + Cast<U>,
Converts to another vector type.