From 3ac47f53f5f1f2dd101c47b6ff24b643b61a159b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 19 Aug 2018 15:55:49 +0200 Subject: [PATCH] some more --- floorshapes.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/floorshapes.cpp b/floorshapes.cpp index 598d7d13..99a226b4 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -253,17 +253,17 @@ void bshape_regular(floorshape &fsh, int id, int sides, int shift, ld size) { bshape(fsh.b[id], fsh.prio); for(int t=0; t<=sides; t++) - hpcpush(ddi(t*S84 / sides + shift, size) * C0); + hpcpush(xspinpush0(t*2 * M_PI / sides + shift, size)); bshape(fsh.shadow[id], fsh.prio); for(int t=0; t<=sides; t++) - hpcpush(ddi(t*S84 / sides + shift, size * SHADMUL) * C0); + hpcpush(xspinpush0(t*2 * M_PI / sides + shift, size * SHADMUL)); for(int k=0; k