mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Removed some debug prints.
This commit is contained in:
parent
d7837f6121
commit
6f3fbdc963
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user