mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-08 23:20:12 +00:00
mstretch fixup
This commit is contained in:
parent
62b85fff34
commit
01ed0290c2
@ -1557,7 +1557,7 @@ EX void optimizeview() {
|
|||||||
cell *c = centerover;
|
cell *c = centerover;
|
||||||
transmatrix iView = inverse(View);
|
transmatrix iView = inverse(View);
|
||||||
virtualRebase(centerover, iView);
|
virtualRebase(centerover, iView);
|
||||||
if(c != centerover && (sphere || sl3)) {
|
if(c != centerover && (sphere || sl2)) {
|
||||||
transmatrix T = currentmap->relative_matrix(centerover, c, C0);
|
transmatrix T = currentmap->relative_matrix(centerover, c, C0);
|
||||||
T = stretch::itranslate(tC0(T)) * T;
|
T = stretch::itranslate(tC0(T)) * T;
|
||||||
stretch::mstretch_matrix = T * stretch::mstretch_matrix;
|
stretch::mstretch_matrix = T * stretch::mstretch_matrix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user