1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 20:27:10 +00:00

solv:: graphical coordinates are now always standard -- local_perspective used in all models

This commit is contained in:
Zeno Rogue
2019-07-31 14:04:31 +02:00
parent 537f9455ee
commit 1e81ed606d
3 changed files with 12 additions and 18 deletions

View File

@@ -334,7 +334,7 @@ void display_data::set_projection(int ed) {
if(pers3) {
glhr::projection_multiply(glhr::frustum(current_display->tanfov, current_display->tanfov * cd->ysize / cd->xsize));
glhr::projection_multiply(glhr::scale(1, -1, -1));
if(glhr::new_shader_projection == glhr::shader_projection::standardSolv)
if(solv::local_perspective_used())
glhr::projection_multiply(glhr::tmtogl_transpose(solv::local_perspective));
}
else if(DIM == 3) {