mirror of
https://github.com/zeldaret/ss
synced 2026-05-29 08:42:57 -04:00
small fixup
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user