setup dolphin VEC/MTX function defines (#1903)

* setup VEC function defines

* setup MTX function defines
This commit is contained in:
TakaRikka
2023-09-02 06:38:08 -07:00
committed by GitHub
parent f90d73eeeb
commit 2a67e0a8ba
102 changed files with 479 additions and 404 deletions
+2 -2
View File
@@ -181,7 +181,7 @@ struct TVec3<f32> {
}
f32 length() const {
return PSVECMag((Vec*)this);
return VECMag((Vec*)this);
}
void scale(register f32 sc) {
@@ -247,7 +247,7 @@ struct TVec3<f32> {
}
void cross(const TVec3<f32>& a, const TVec3<f32>& b) {
PSVECCrossProduct(a, b, *this);
VECCrossProduct(a, b, *this);
}
void setLength(f32 len) {