[−]Function rusty_engine::prelude::glm::rotate2d
pub fn rotate2d<N>(
m: &Matrix<N, U3, U3, <DefaultAllocator as Allocator<N, U3, U3>>::Buffer>,
angle: N
) -> Matrix<N, U3, U3, <DefaultAllocator as Allocator<N, U3, U3>>::Buffer> where
N: RealField,
Builds a 2D rotation matrix from an angle and right-multiply it to m
.