mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +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 sagephase;
|
||||||
extern int lastsize;
|
extern int lastsize;
|
||||||
extern int noiseuntil;
|
extern int noiseuntil;
|
||||||
hyperpoint xpush0(ld x);
|
hyperpoint cpush0(int d, ld x);
|
||||||
hyperpoint ypush0(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);
|
transmatrix xspinpush(ld alpha, ld x);
|
||||||
hyperpoint xspinpush0(ld alpha, ld x);
|
hyperpoint xspinpush0(ld alpha, ld x);
|
||||||
|
|
||||||
|
@ -287,10 +287,6 @@ inline hyperpoint cpush0(int c, ld x) {
|
|||||||
return h;
|
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) {
|
inline hyperpoint xspinpush0(ld alpha, ld x) {
|
||||||
hyperpoint h = Hypc;
|
hyperpoint h = Hypc;
|
||||||
h[DIM] = cos_auto(x);
|
h[DIM] = cos_auto(x);
|
||||||
|
Loading…
Reference in New Issue
Block a user