diff options
| author | robojumper <robojumper@gmail.com> | 2026-05-25 01:09:29 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-05-25 01:09:29 +0200 |
| commit | 479fbbddb4cdf423301bf9c44c96730816aadcc2 (patch) | |
| tree | 5e224ef21c61fbc796538906999043adb16a55d8 /include | |
| parent | 9e27df8adf6dc4a6f6777086003a97a911828017 (diff) | |
Fixes (thanks Zeldex)
Diffstat (limited to 'include')
| -rw-r--r-- | include/d/d_angle.h | 4 |
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) { |
