summaryrefslogtreecommitdiff
path: root/src/code/sys_matrix.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-04-02 18:47:13 -0400
committerGitHub <noreply@github.com>2020-04-02 18:47:13 -0400
commit92baef757fe7dc5491c5ed60c542d7d47d12a323 (patch)
tree1f9a24a7f9ef5fd73e613631f94b1e902dca24e9 /src/code/sys_matrix.c
parent999044cdcd5bbcefddd4b3d13e0f64e2a788e704 (diff)
parent0ae9804655b1b8adbd4675dd7f41651b00e66181 (diff)
Merge pull request #46 from krimtonz/skelanimeupdates
SkelAnime Updates
Diffstat (limited to 'src/code/sys_matrix.c')
-rw-r--r--src/code/sys_matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c
index 24c5768d0..c320a3286 100644
--- a/src/code/sys_matrix.c
+++ b/src/code/sys_matrix.c
@@ -298,7 +298,7 @@ void Matrix_RotateZ(f32 z, u8 mode) {
/*
* Rotates the top of the matrix stack by `z` degrees, then
* rotates that matrix by `y` degrees, then rotates that matrix
- * by `x` degrees.
+ * by `x` degrees. (roll-pitch-yaw)
* Original Name: Matrix_RotateXYZ, changed to reflect rotation order.
*/
void Matrix_RotateZYX(s16 x, s16 y, s16 z, u8 mode) {
@@ -388,7 +388,7 @@ void Matrix_RotateZYX(s16 x, s16 y, s16 z, u8 mode) {
/*
* Translates the top of the matrix stack by `translation` units,
- * then rotates that matrix by `rotation` in Z-Y-X order
+ * then rotates that matrix by `rotation` in Z-Y-X order (roll-pitch-yaw)
*/
void Matrix_TranslateThenRotateZYX(Vec3f* translation, Vec3s* rotation) {
MtxF* cmf = sCurrentMatrix;