1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 01:03:00 +00:00

get_shiftview_of used gpush instead of rgpush; fixed wallradar

This commit is contained in:
Zeno Rogue
2019-08-25 20:45:27 +02:00
parent db351d9511
commit ce46243b55
4 changed files with 8 additions and 8 deletions

View File

@@ -985,9 +985,9 @@ EX transmatrix solmul_pt(const transmatrix Position, const transmatrix T) {
else return Position * T;
}
EX transmatrix solmul_pt(const transmatrix Position, const transmatrix LPe, const transmatrix T) {
if(nonisotropic || prod) return nisot::parallel_transport(Position, LPe, tC0(T));
else return Position * T;
EX transmatrix solmul_pt(const transmatrix Position, const transmatrix LPe, const hyperpoint h) {
if(nonisotropic || prod) return nisot::parallel_transport(Position, LPe, h);
else return Position * rgpushxto0(direct_exp(h, 100));
}
EX transmatrix spin_towards(const transmatrix Position, const hyperpoint goal, int dir, int back) {