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

convenience functions zforward_dir and zpush0

This commit is contained in:
Zeno Rogue
2019-08-20 14:56:00 +02:00
parent afa6d722dd
commit 201098efe9
4 changed files with 5 additions and 3 deletions

View File

@@ -1010,6 +1010,7 @@ inline hyperpoint xspinpush0(ld alpha, ld x) {
inline hyperpoint xpush0(ld x) { return cpush0(0, x); }
inline hyperpoint ypush0(ld x) { return cpush0(1, x); }
inline hyperpoint zpush0(ld x) { return cpush0(2, x); }
// T * C0, optimized
inline hyperpoint tC0(const transmatrix &T) {