fix: Update to new yaw method

This commit is contained in:
Zoinkwiz
2026-06-18 01:00:30 +01:00
parent 019eeeafc9
commit d5f3a1409c

View File

@@ -272,10 +272,10 @@ public class QuestPerspective
return null;
}
final int angle = client.getCameraYawTarget() & 0x7FF;
final int angle = client.getCameraYawTarget() & 0x3FFF;
final int sin = Perspective.SINE[angle];
final int cos = Perspective.COSINE[angle];
final int sin = Perspective.SINE14[angle];
final int cos = Perspective.COSINE14[angle];
final int xx = y * sin + cos * x >> 16;
final int yy = sin * x - y * cos >> 16;