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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user