fixed camera angle: aura and shader projection

This commit is contained in:
Zeno Rogue
2023-08-15 16:01:38 +02:00
parent 37d558944e
commit b123900b52
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3421,7 +3421,7 @@ EX void drawaura() {
if(!models::camera_straight) {
hyperpoint p = hyperpoint(x, y, rad0, 1);
p = pconf.cam() * p;
p = rot_inverse(pconf.cam()) * p;
x = p[0] * rad0 / p[2];
y = p[1] * rad0 / p[2];
}