Function piston_window::math::translate [−][src]
pub fn translate<T>(v: [T; 2]) -> [[T; 3]; 2] where
T: Float,
Creates a translation matrix.
pub fn translate<T>(v: [T; 2]) -> [[T; 3]; 2] where
T: Float,
Creates a translation matrix.