mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed the stereographic projection of a sphere
This commit is contained in:
parent
80f27a4e7e
commit
19dc51ccc5
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user