Function nalgebra_glm::rotate_vec2

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

Rotate a two dimensional vector.