math_rot_matrix2d | R Documentation |
Calculates a 2D rotation matrix for a given angle
. The rotation will be applied by the right hand rule.
math_rot_matrix2d(angle)
angle |
in radiant |
https://en.wikipedia.org/wiki/Rotation_matrix
Returns 3D rotation matrix for given axis (unit vector) and angle.
Florian Wagner florian.wagner@wagnius.ch
math_rot_matrix2d(30/180*pi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.