diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-05-25 15:46:31 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2025-05-25 15:46:31 -0400 |
| commit | 133ac12fcf28a8b475796169e7e7beb0de99bda5 (patch) | |
| tree | e13cb2cfb823b9580daad668c54dfdd47f030da4 /src/toBeSorted/d_path.cpp | |
| parent | 553b105e3470e73be97609e7efa846344ce56388 (diff) | |
small fixup
Diffstat (limited to 'src/toBeSorted/d_path.cpp')
| -rw-r--r-- | src/toBeSorted/d_path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toBeSorted/d_path.cpp b/src/toBeSorted/d_path.cpp index ff89b7fe..43b2b896 100644 --- a/src/toBeSorted/d_path.cpp +++ b/src/toBeSorted/d_path.cpp @@ -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(); |
