pub fn rotation_y(angle: T) -> Mat4<T> {
        let sin = angle.sin();
        let cos = angle.cos();
        Mat4 {
            a11: cos, a13: sin,
            a31: -sin, a33: cos,
            .. Mat4::IDENTITY
        }
    }
/// Creates a matrix representing a counterclockwise rotation of `angle` radians
/// around the y-axis
Creates a matrix representing a counterclockwise rotation of `angle` radians
around the y-axis
Creates a matrix representing a counterclockwise rotation of ` angle ` radians around the y - axis
pub fn rotation_y(angle: T) -> Mat4<T> {
        let sin = angle.sin();
        let cos = angle.cos();
        Mat4 {
            a11: cos, a13: sin,
            a31: -sin, a33: cos,
            .. Mat4::IDENTITY
        }
    }
pub fn rotation_y ( angle : T ) -> Mat4 < T > { let sin = angle . sin ( ) ; let cos = angle . cos ( ) ; Mat4 { a11 : cos , a13 : sin , a31 : - sin , a33 : cos , .. Mat4 :: IDENTITY } }
Creates a matrix representing a counterclockwise rotation of `angle` radians
around the y-axis
Creates a matrix representing a counterclockwise rotation of ` angle ` radians around the y - axis
angle
T
angle
T