diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-22 13:57:27 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-22 13:57:27 -0500 |
| commit | 5bfb7b182315ff31a3b8ee29beadd7f986f92da2 (patch) | |
| tree | 8ec0003a8fbe9d7f8a2486b01cb62cacbd13a8b6 /src/d/d_lib.cpp | |
| parent | 8061701a49e63226c05bc1308921d071020bf176 (diff) | |
d_jnt_hit OK
Diffstat (limited to 'src/d/d_lib.cpp')
| -rw-r--r-- | src/d/d_lib.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp index 5c51c089..5d395276 100644 --- a/src/d/d_lib.cpp +++ b/src/d/d_lib.cpp @@ -14,15 +14,12 @@ Quaternion ZeroQuat = {0.0f, 0.0f, 0.0f, 1.0f}; /* 80057000-800570CC .text dLib_setCirclePath__FP18dLib_circle_path_c */ void dLib_setCirclePath(dLib_circle_path_c* path) { - /* Nonmatching */ path->mAngle += path->mAngleSpeed; f32 rad = path->mRadius + path->mWobbleAmplitude * cM_ssin(path->mAngle); mDoMtx_stack_c::transS(path->mTranslation); mDoMtx_stack_c::YrotM(path->mAngle); mDoMtx_stack_c::transM(rad, 0.0f, 0.0f); - path->mPos.x = mDoMtx_stack_c::get()[0][3]; - path->mPos.y = mDoMtx_stack_c::get()[1][3]; - path->mPos.z = mDoMtx_stack_c::get()[2][3]; + mDoMtx_stack_c::multVecZero(&path->mPos); } /* 800570CC-8005716C .text dLib_getWaterY__FR4cXyzR12dBgS_ObjAcch */ |
