1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-21 04:19:43 +00:00

solv:: fixup to ilocal_perspective removal, to work in mdPerspective too

This commit is contained in:
Zeno Rogue
2019-07-31 12:18:53 +02:00
parent 49c3a643ae
commit 8ba99c42a0
3 changed files with 22 additions and 13 deletions

View File

@@ -272,10 +272,7 @@ namespace solv {
void draw() override {
dq::visited.clear();
transmatrix T = eupush( tC0(inverse(View)) );
local_perspective = View * T;
dq::enqueue(viewctr.at, inverse(local_perspective) * cview());
dq::enqueue(viewctr.at, cview());
while(!dq::drawqueue.empty()) {
auto& p = dq::drawqueue.front();