@@ -278,7 +278,7 @@ function insideShape(point,theta,scale,pos,points) {
278 var x = (point[1] - pos[1]) / scale;
278 var x = (point[1] - pos[1]) / scale;
279 var y = (point[2] - pos[2]) / scale;
279 var y = (point[2] - pos[2]) / scale;
280 if (theta !== 0) {
280 if (theta !== 0) {
281− var t = 2 * Math.PI * theta;
281+ var t = -2 * Math.PI * theta;
282 var nx = x * Math.cos(t) - y * Math.sin(t);
282 var nx = x * Math.cos(t) - y * Math.sin(t);
283 y = x * Math.sin(t) + y * Math.cos(t);
283 y = x * Math.sin(t) + y * Math.cos(t);