3D:: flatten Z in the correct direction in full 3D

This commit is contained in:
Zeno Rogue 2019-06-17 12:36:35 +02:00
parent 4e4a3a65a7
commit 91a83035da
1 changed files with 1 additions and 0 deletions

View File

@ -1337,6 +1337,7 @@ transmatrix atscreenpos(ld x, ld y, ld size) {
V[1][3] += (y - current_display->ycenter);
V[0][0] = size * 2 * cgi.hcrossf / cgi.crossf;
V[1][1] = size * 2 * cgi.hcrossf / cgi.crossf;
if(WDIM == 3) V[2][2] = -1;
}
else {
V[0][2] += (x - current_display->xcenter);