3d:: native perspective is now pmodel == mdPerspective, and other models work too

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:38:47 +02:00
1 parent 1d1baf2207
commit 46ae64e945
9 files changed
+77 -39

No files matched your search

+1 -1
View File
@@ -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];