mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
moved inline functions to hyper.h
This commit is contained in:
parent
6afa1f1fa0
commit
7f6957694a
5
hyper.h
5
hyper.h
@ -3577,8 +3577,9 @@ extern eLand safetyland;
|
||||
extern int sagephase;
|
||||
extern int lastsize;
|
||||
extern int noiseuntil;
|
||||
hyperpoint xpush0(ld x);
|
||||
hyperpoint ypush0(ld x);
|
||||
hyperpoint cpush0(int d, ld x);
|
||||
inline hyperpoint xpush0(ld x) { return cpush0(0, x); }
|
||||
inline hyperpoint ypush0(ld x) { return cpush0(1, x); }
|
||||
transmatrix xspinpush(ld alpha, ld x);
|
||||
hyperpoint xspinpush0(ld alpha, ld x);
|
||||
|
||||
|
@ -287,10 +287,6 @@ inline hyperpoint cpush0(int c, ld x) {
|
||||
return h;
|
||||
}
|
||||
|
||||
inline hyperpoint xpush0(ld x) { return cpush0(0, x); }
|
||||
|
||||
inline hyperpoint ypush0(ld x) { return cpush0(1, x); }
|
||||
|
||||
inline hyperpoint xspinpush0(ld alpha, ld x) {
|
||||
hyperpoint h = Hypc;
|
||||
h[DIM] = cos_auto(x);
|
||||
|
Loading…
Reference in New Issue
Block a user