1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 22:25:12 +00:00

fixed relative gmatrix computation in gp and line animation

This commit is contained in:
Zeno Rogue
2018-04-21 14:01:54 +02:00
parent e101b092a4
commit edf4dd42cc
5 changed files with 70 additions and 52 deletions

View File

@@ -486,7 +486,7 @@ transmatrix actualV(const heptspin& hs, const transmatrix& V) {
}
transmatrix applyspin(const heptspin& hs, const transmatrix& V) {
return (hs.spin || nonbitrunc) ? V * spin(hs.spin*2*M_PI/S7) : V;
return hs.spin ? V * spin(hs.spin*2*M_PI/S7) : V;
}
// in hyperbolic quotient geometries, relying on pathdist is not sufficient