diff --git a/graph.cpp b/graph.cpp index 18329210..db87d349 100644 --- a/graph.cpp +++ b/graph.cpp @@ -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]; } diff --git a/shaders.cpp b/shaders.cpp index 4b748fd0..ffd11630 100644 --- a/shaders.cpp +++ b/shaders.cpp @@ -837,7 +837,7 @@ void display_data::set_projection(int ed, ld shift) { } if(!models::camera_straight && pmodel != mdPixel) { - glhr::projection_multiply(glhr::tmtogl_transpose(pconf.cam())); + glhr::projection_multiply(glhr::tmtogl(pconf.cam())); } if(u_alpha) {