1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 18:29:59 +00:00

one fixe with lie_exp

This commit is contained in:
Zeno Rogue 2023-01-04 23:31:12 +01:00
parent 601457ebc2
commit 82ce9914c5

View File

@ -2850,7 +2850,7 @@ EX namespace nisot {
EX transmatrix lie_transport(const transmatrix Position, const hyperpoint direction) {
transmatrix pshift = eupush( tC0(Position) );
transmatrix irot = iso_inverse(pshift) * Position;
hyperpoint tH = lie_exp(irot * direction);
hyperpoint tH = unshift(lie_exp(irot * direction));
return pshift * eupush(tH) * irot;
}