mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-05 02:37:50 -04:00
first round of constants cleanup (#3021)
* first round of constants cleanup * move m_PI_D definition * remove compatibility comment * add future version of angle subtracting with/without cast * whitespace change to run builds again
This commit is contained in:
@@ -309,7 +309,7 @@ void Z2AudioCamera::setCameraState(f32 (*param_0)[4], Vec& pos, Vec& param_2, f3
|
||||
} else {
|
||||
Vec aTStack_cc = {param_0[0][0], param_0[0][1], param_0[0][2]};
|
||||
Mtx rotMtx;
|
||||
MTXRotAxisRad(rotMtx, &aTStack_cc, 0.017453292f * (-1.0f * dVar10));
|
||||
MTXRotAxisRad(rotMtx, &aTStack_cc, (M_PI / 180.0f) * (-1.0f * dVar10));
|
||||
JGeometry::TVec3<f32> aTStack_d8;
|
||||
MTXMultVec(rotMtx, aTStack_c0, aTStack_d8);
|
||||
aTStack_d8.scale(aTStack_c0.y / aTStack_d8.y);
|
||||
|
||||
Reference in New Issue
Block a user