diff options
| author | Max Roncace <me@caseif.net> | 2025-08-24 02:52:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-24 09:52:08 +0300 |
| commit | 513816ce5c055be898b80dfa3b7048bcaca876a7 (patch) | |
| tree | 85ac5e0383eb1ef1e4442c95f7c63c2c146098ae /include/SSystem | |
| parent | 8a30030dc73931727bd3d6327c1a37255a295f3f (diff) | |
Add a precompiled header for RELs (#2597)
Diffstat (limited to 'include/SSystem')
| -rw-r--r-- | include/SSystem/SComponent/c_sxyz.h | 2 | ||||
| -rw-r--r-- | include/SSystem/SComponent/c_xyz.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/SSystem/SComponent/c_sxyz.h b/include/SSystem/SComponent/c_sxyz.h index 7f0ebc23dc..b44d511c10 100644 --- a/include/SSystem/SComponent/c_sxyz.h +++ b/include/SSystem/SComponent/c_sxyz.h @@ -10,7 +10,7 @@ struct SVec { class csXyz : public SVec { public: static const csXyz Zero; - /* 80018BD0 */ ~csXyz() {}; + /* 80018BD0 */ ~csXyz() {} /* inline */ csXyz() {} /* inline */ csXyz(const csXyz& other) : SVec(other){}; /* 802673F4 */ csXyz(s16, s16, s16); diff --git a/include/SSystem/SComponent/c_xyz.h b/include/SSystem/SComponent/c_xyz.h index 88dd42600b..489769cb72 100644 --- a/include/SSystem/SComponent/c_xyz.h +++ b/include/SSystem/SComponent/c_xyz.h @@ -100,7 +100,7 @@ struct cXyz : Vec { void zero() { set(0.0f, 0.0f, 0.0f); } f32 getSquareMag() const { return VECSquareMag(this); } - f32 getSquareDistance(const Vec& other) const { return VECSquareDistance(this, &other); } + f32 getSquareDistance(const Vec& other) const { return PSVECSquareDistance(this, &other); } static f32 getNearZeroValue() { return 8e-11f; } |
