mirror of
https://github.com/zeldaret/ss
synced 2026-09-06 10:45:42 -04:00
MTX/VEC cleanup
This commit is contained in:
+1
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user