mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
viewctr is no more... major reduction of redundancy/complexity
This commit is contained in:
1 parent
74a139ca3e
commit
ef9e2236ba
27 files changed
+102
-270
No files matched your search
+1
-2
@@ -814,11 +814,10 @@ EX void cast() {
|
||||
|
||||
vector<cell*> lst;
|
||||
|
||||
cell *cs = viewcenter();
|
||||
cell *cs = centerover;
|
||||
|
||||
transmatrix T = cview();
|
||||
if(nonisotropic) T = nisot::local_perspective * T;
|
||||
if(prod) T = actualV(viewctr, T);
|
||||
T = inverse(T);
|
||||
|
||||
virtualRebase(cs, T, true);
|
||||
|
||||
Reference in new issue
Block a user