1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +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

@@ -124,7 +124,7 @@ void create_sokowalls(cell *c) {
hyperpoint h0 = get_corner_position(c, b);
hyperpoint h1 = get_corner_position(c, b+1);
hyperpoint h2 = normalize(h0 * (qfr-fr) + h1 * fr);
return mscale(h2, 1 / (1 - a / 6.1));
return orthogonal_move_fol(h2, 1 / (1 - a / 6.1));
};
for(int a=0; a<9; a++)