Removed some debug prints.

This commit is contained in:
TomyLobo 2013-07-01 21:04:52 +02:00 committed by wizjany
parent d7837f6121
commit 6f3fbdc963
2 changed files with 0 additions and 4 deletions

View File

@ -261,7 +261,6 @@ public final class ParserProcessors {
switch (partsFound) { switch (partsFound) {
case 0: case 0:
if (character == '?') { if (character == '?') {
System.out.println("question mark found");
partsFound = 1; partsFound = 1;
} else { } else {
lhs.addLast(identifiable); lhs.addLast(identifiable);
@ -270,7 +269,6 @@ public final class ParserProcessors {
case 1: case 1:
if (conditionalsFound == 0 && character == ':') { if (conditionalsFound == 0 && character == ':') {
System.out.println("matching colon found");
partsFound = 2; partsFound = 2;
} else { } else {
mhs.addLast(identifiable); mhs.addLast(identifiable);

View File

@ -84,10 +84,8 @@ public class Polygonal2DRegionSelector implements RegionSelector, CUIRegion {
final List<BlockVector2D> points = new ArrayList<BlockVector2D>(nPoints); final List<BlockVector2D> points = new ArrayList<BlockVector2D>(nPoints);
for (int i = 0; i < nPoints; ++i) { for (int i = 0; i < nPoints; ++i) {
double angle = i * (2.0 * Math.PI) / nPoints; double angle = i * (2.0 * Math.PI) / nPoints;
System.out.println(angle);
final Vector2D pos = new Vector2D(Math.cos(angle), Math.sin(angle)); final Vector2D pos = new Vector2D(Math.cos(angle), Math.sin(angle));
final BlockVector2D blockVector2D = pos.multiply(radius).add(center).toBlockVector2D(); final BlockVector2D blockVector2D = pos.multiply(radius).add(center).toBlockVector2D();
System.out.println(blockVector2D);
points.add(blockVector2D); points.add(blockVector2D);
} }