Function nalgebra_glm::rotate_vec2

source ·
pub fn rotate_vec2<N: Real>(v: &TVec2<N>, angle: N) -> TVec2<N>
Expand description

Rotate a two dimensional vector.