mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 10:57:59 +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:
@@ -16,8 +16,8 @@ bool draw_simple_scene() {
|
||||
shiftmatrix Where = ggmatrix(currentmap->gamestart());
|
||||
|
||||
curvepoint(xpush0(0.2));
|
||||
curvepoint(spin(120*degree) * xpush0(0.2));
|
||||
curvepoint(spin(240*degree) * xpush0(0.2));
|
||||
curvepoint(spin(120._deg) * xpush0(0.2));
|
||||
curvepoint(spin(240._deg) * xpush0(0.2));
|
||||
curvepoint(xpush0(0.2));
|
||||
|
||||
queuecurve(Where, 0xFF0000FF, 0x00FF00FF, PPR::LINE);
|
||||
|
||||
Reference in New Issue
Block a user