mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-24 21:49:43 +00:00
3d:: native perspective is now pmodel == mdPerspective, and other models work too
This commit is contained in:
@@ -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