small fixup

This commit is contained in:
elijah-thomas774
2025-05-25 15:46:31 -04:00
parent 553b105e34
commit 133ac12fcf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ struct Rotation {
mRot = other.mRot;
}
Rotation &operator=(const Rotation &other) {
mRot = val;
mRot = other.mRot;
return *this;
}
Rotation &operator=(T val) {
+1 -1
View File
@@ -409,7 +409,7 @@ bool dPath_c::getDirection(s32 pointIndex, f32 time, mVec3_c &out) const {
b = 3.f * (currPos + nextControl) - 6.f * currControl;
c = 3.f * (currControl - currPos);
out = a * (time * time * 3.f) + b * (time * 2.f);
out = a * (time * time * 3.f) + b * (time * 2.f) + c;
}
f32 mag = out.mag();