mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
cview() called outside of draw -- this way it works with product
This commit is contained in:
parent
6c75c2687d
commit
47823ef0fb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user