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:
roeming
2026-01-10 16:38:04 -05:00
committed by GitHub
parent d5e748beaa
commit 37ec227b3f
30 changed files with 81 additions and 59 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ void dKyr_lenzflare_move() {
dKyr_get_vectle_calc(&center, &proj, &vect);
lenz_packet->field_0x94 = cM_atan2s(vect.x, vect.y);
lenz_packet->field_0x94 *= 0.0054931640625f; // Maybe 45 / 8192
lenz_packet->field_0x94 *= S2DEG_CONSTANT; // convert from short angle to degrees
lenz_packet->field_0x94 += 180.0f;
dKyr_get_vectle_calc(&camera->lookat.eye, &camera->lookat.center, &camFwd);