Function elmesque::transform_2d::rotation
[−]
[src]
pub fn rotation(t: f64) -> Transform2D
Create a rotation matrix. Given an angle t, it creates a counterclockwise rotation matrix.
cos t -sin t 0 sin t cos t 0