cview() called outside of draw -- this way it works with product

This commit is contained in:
Zeno Rogue 2019-08-20 16:09:16 +02:00
parent 6c75c2687d
commit 47823ef0fb
1 changed files with 4 additions and 5 deletions

View File

@ -7198,10 +7198,6 @@ EX void make_actual_view() {
actual_view_transform = inverse(nisot::local_perspective) * actual_view_transform;
}
#endif
}
EX transmatrix cview() {
make_actual_view();
#if MAXMDIM >= 4
if(GDIM == 3 && WDIM == 2) {
transmatrix T = actual_view_transform * View;
@ -7218,7 +7214,9 @@ EX transmatrix cview() {
radar_transform = T * U;
}
#endif
}
EX transmatrix cview() {
return actual_view_transform * View;
}
@ -7354,6 +7352,7 @@ EX void drawthemap() {
arrowtraps.clear();
profile_start(1);
make_actual_view();
currentmap->draw();
drawWormSegments();
drawBlizzards();