Function piston_window::math::translate

source ·
pub fn translate<T>(v: [T; 2]) -> [[T; 3]; 2]where
    T: Float,
Expand description

Creates a translation matrix.