pub fn rotation_z(angle: T) -> Mat4<T> {
        let sin = angle.sin();
        let cos = angle.cos();
        Mat4 {
            a11: cos, a12: -sin,
            a21: sin, a22: cos,
            .. Mat4::IDENTITY
        }
    }
/// Creates a matrix representing a counterclockwise rotation of `angle` radians
/// around the z-axis
Creates a matrix representing a counterclockwise rotation of `angle` radians
around the z-axis
Creates a matrix representing a counterclockwise rotation of ` angle ` radians around the z - axis
pub fn rotation_z(angle: T) -> Mat4<T> {
        let sin = angle.sin();
        let cos = angle.cos();
        Mat4 {
            a11: cos, a12: -sin,
            a21: sin, a22: cos,
            .. Mat4::IDENTITY
        }
    }
pub fn rotation_z ( angle : T ) -> Mat4 < T > { let sin = angle . sin ( ) ; let cos = angle . cos ( ) ; Mat4 { a11 : cos , a12 : - sin , a21 : sin , a22 : cos , .. Mat4 :: IDENTITY } }
Creates a matrix representing a counterclockwise rotation of `angle` radians
around the z-axis
Creates a matrix representing a counterclockwise rotation of ` angle ` radians around the z - axis
angle
T
angle
T