1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-25 10:11:23 +00:00

product:: wallradar and TPP

This commit is contained in:
Zeno Rogue
2019-08-20 18:02:03 +02:00
parent 47823ef0fb
commit 597140e28d
4 changed files with 24 additions and 10 deletions

View File

@@ -951,7 +951,12 @@ EX transmatrix solmul(const transmatrix T, const transmatrix LPe, const transmat
}
EX transmatrix solmul_pt(const transmatrix Position, const transmatrix T) {
if(nonisotropic) return nisot::parallel_transport(Position, T);
if(nonisotropic) return nisot::parallel_transport(Position, Id, 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, T);
else return Position * T;
}