mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-07 08:14:30 +00:00
rotations are now represented as matrices, not angles
This commit is contained in:
1 parent
c896b3ecd6
commit
1554caa7b4
11 files changed
+244
-172
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user