summaryrefslogtreecommitdiff
path: root/include/d/d_angle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/d/d_angle.h')
-rw-r--r--include/d/d_angle.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/d/d_angle.h b/include/d/d_angle.h
index dc12dabc..8d42106e 100644
--- a/include/d/d_angle.h
+++ b/include/d/d_angle.h
@@ -5,9 +5,7 @@
#include "m/m_vec.h"
inline void setRotXY(mAng3_c &rot, s32 x, s32 y) {
- rot.x.mVal = x;
- rot.y.mVal = y;
- rot.z.mVal = 0;
+ rot.set(x, y, mAng(0));
}
inline void setRotXYVec(mAng3_c &rot, const mVec3_c &direction) {