1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the stereographic projection of a sphere

This commit is contained in:
Zeno Rogue 2018-04-11 15:57:51 +02:00
parent 80f27a4e7e
commit 19dc51ccc5

View File

@ -245,7 +245,7 @@ void setmatrix(int useV, const transmatrix& V) {
GLfloat mat[16] = {
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, -1, 0,
0, 0, GLfloat(stereo::mode ? -1 : 0), 0,
0, 0, stereo::scrdist, 1
};
glhr::set_modelview(glhr::as_glmatrix(mat));