Created
October 25, 2013 10:24
-
-
Save anunyin/7152591 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Overwrite the rotation value entirely w/ a new one. | |
SetRotation(quaternion rot); | |
SetRotationEuler(vec3 rot); | |
SetRotationAxis(float angle, vec3 axis); | |
// Apply an additional rotation to the currently existing one. | |
Rotate(quaternion rot); | |
RotateEuler(vec3 rot); | |
RotateAxis(float angle, vec3 axis); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment