mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 11:37:55 +00:00
used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable
This commit is contained in:
@@ -241,7 +241,7 @@ EX void drawArrowTraps() {
|
||||
hyperpoint trel = inverse_shift(tu, tC0(tv));
|
||||
shiftmatrix tpartial = tu * rspintox(trel) * xpush(hdist0(trel) * tt / 401.0);
|
||||
tpartial = tpartial * ypush(.05);
|
||||
if(GDIM == 3) tpartial = tpartial * cspin(1, 2, M_PI/2);
|
||||
if(GDIM == 3) tpartial = tpartial * cspin90(1, 2);
|
||||
queuepoly(tpartial, cgi.shTrapArrow, 0xFFFFFFFF);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user