mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-09 12:16:45 +00:00
embeddings:: fixed xspinpush
This commit is contained in:
parent
8e004230a7
commit
d868548fa2
@ -957,7 +957,7 @@ EX hyperpoint xspinpush0(ld alpha, ld x) {
|
||||
EX transmatrix xspinpush(ld dir, ld dist) {
|
||||
if(embedded_plane) {
|
||||
geom3::light_flip(true);
|
||||
transmatrix T = spin(dir) * xpush(dist) * spin(-dir);
|
||||
transmatrix T = cspin(0, 1, dir) * xpush(dist) * cspin(0, 1, -dir);
|
||||
geom3::light_flip(false);
|
||||
return cgi.emb->base_to_actual(T);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user