mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
fixed 3D perspective rendering without CAP_VR
This commit is contained in:
@@ -538,7 +538,7 @@ void display_data::set_projection(int ed, ld shift) {
|
||||
glhr::projection_multiply(glhr::tmtogl_transpose(vrhr::hmd_mvp));
|
||||
}
|
||||
#else
|
||||
if(1) {}
|
||||
if(0) {}
|
||||
#endif
|
||||
else {
|
||||
glhr::projection_multiply(glhr::frustum(current_display->tanfov, current_display->tanfov * cd->ysize / cd->xsize));
|
||||
|
||||
Reference in New Issue
Block a user