viewport - further documentation

This commit is contained in:
mariob92
2024-09-10 09:23:21 +02:00
parent a0994765b1
commit d36f6a807c
8 changed files with 59 additions and 50 deletions

View File

@@ -142,8 +142,8 @@ bool func_8028AE10(void) {
_player_getPosition(sp1C);
ideal_yaw = yaw_getIdeal();
sp2C = viewport_func_8024DDD8(sp1C, 90.0f);
sp28 = viewport_func_8024DDD8(sp1C, 270.0f);
sp2C = viewport_adjustAngleToRight(sp1C, 90.0f);
sp28 = viewport_adjustAngleToRight(sp1C, 270.0f);
if (sp28 < sp2C) {
return (sp2C < ideal_yaw) || (ideal_yaw < sp28);
}