mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
3d:: native perspective is now pmodel == mdPerspective, and other models work too
This commit is contained in:
1 parent
1d1baf2207
commit
46ae64e945
9 files changed
+77
-39
No files matched your search
+1
-1
@@ -496,7 +496,7 @@ vector<glvertex> line_vertices;
|
||||
void glapplymatrix(const transmatrix& V) {
|
||||
GLfloat mat[16];
|
||||
int id = 0;
|
||||
if(DIM == 3) {
|
||||
if(pmodel == mdPerspective && DIM == 3) {
|
||||
if(elliptic && spherephase < 2) {
|
||||
for(int y=0; y<4; y++) {
|
||||
for(int x=0; x<4; x++) mat[id++] = -V[x][y];
|
||||
|
||||
Reference in new issue
Block a user