summaryrefslogtreecommitdiff
path: root/include/m/m_vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m/m_vec.h')
-rw-r--r--include/m/m_vec.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/m/m_vec.h b/include/m/m_vec.h
index 0294dcca..6f0047b9 100644
--- a/include/m/m_vec.h
+++ b/include/m/m_vec.h
@@ -222,7 +222,7 @@ public:
}
f32 distance(const mVec3_c &to) const {
- return EGG::Math<f32>::sqrt(PSVECSquareDistance(*this, to));
+ return EGG::Math<f32>::sqrt(VECSquareDistance(*this, to));
}
f32 squareDistance(const mVec3_c &to) const {
return VEC3DistSq(*this, to);
@@ -277,11 +277,6 @@ public:
return EGG::Vector3f::angle(other);
}
- void offsetWithAngle(s16 yRot, f32 scale) {
- this->x += nw4r::math::SinIdx(yRot) * scale;
- this->z += nw4r::math::CosIdx(yRot) * scale;
- }
-
static mVec3_c Zero;
static mVec3_c Ex;
static mVec3_c Ey;