Removed some debug prints.

Dieser Commit ist enthalten in:
TomyLobo 2013-07-01 21:04:52 +02:00 committet von wizjany
Ursprung d7837f6121
Commit 6f3fbdc963
2 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -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);

Datei anzeigen

@ -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);
} }