1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-25 02:47:40 +00:00

rotations are now represented as matrices, not angles

This commit is contained in:
Zeno Rogue
2023-08-08 16:27:52 +02:00
parent c896b3ecd6
commit 1554caa7b4
11 changed files with 244 additions and 172 deletions

View File

@@ -3400,11 +3400,12 @@ EX void drawaura() {
ld s = sin(rr);
if(joukowsky) {
ld c1 = c, s1 = s;
hyperpoint v(c, s, 0, 1);
if(inversion)
models::apply_orientation(s1, c1);
models::apply_iori(v);
else
models::apply_orientation(c1, s1);
models::apply_ori(v);
ld c1 = v[0], s1 = v[1];
ld& mt = pconf.model_transition;
ld mt2 = 1 - mt;