1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

adjusted RogueViz to use the new 3D functions

This commit is contained in:
Zeno Rogue
2022-12-11 21:12:51 +01:00
parent aee6285505
commit 0dd29dd7cf
9 changed files with 18 additions and 18 deletions

View File

@@ -83,11 +83,11 @@ transmatrix random_snow_matrix(cell *c) {
h[2] = -h[2];
return rgpushxto0(h);
}
else if(prod) {
else if(mproduct) {
transmatrix T = PIU(random_snow_matrix(c));
return mscale(T, (randd() - .5) * cgi.plevel);
return orthogonal_move(T, (randd() - .5) * cgi.plevel);
}
else if(hybri && !prod) {
else if(mhybrid && !mproduct) {
return rots::lift_matrix(PIU(random_snow_matrix(c))); // * zpush((randd() - .5) * cgi.plevel);
}
else if(nonisotropic || bt::in()) {