Clean up angle constants and conversions (#1135)

* Add angle conversion constants and macros

* Replace angle literals with hex instead of decimal
This commit is contained in:
LagoLunatic
2026-07-22 20:13:31 -04:00
committed by GitHub
parent bf372802ca
commit 96347ab502
85 changed files with 261 additions and 267 deletions
+2 -2
View File
@@ -227,8 +227,8 @@ bool daObj_Stair_c::_execute() {
if(temp2.abs() > 8e-11f){
cXyz temp3 = temp2.normZP();
f32 temp4 = l_HIO.m10 * 0.5f * field_0x2C8.abs() * 0.01f * field_0x2EC;
sin = cM_ssin(temp4 * 182.04445f);
cos = cM_scos(temp4 * 182.04445f);
sin = cM_ssin(DEG2S(temp4));
cos = cM_scos(DEG2S(temp4));
// misses inline cM_deg2s?
field_0x4B0.x = sin * temp3.x;