}
if (SETTINGS.DEBUG) {
g.stroke(255, 0, 0);
for (int i = 0; i < this.debugIntersectionPoints.size(); i++) {
Vec2D p = this.debugIntersectionPoints.get(i);
float crossWidth = 20;
g.line(p.x - (crossWidth / 2), p.y + (crossWidth / 2), p.x
+ (crossWidth / 2), p.y - (crossWidth / 2));
g.line(p.x + (crossWidth / 2), p.y + (crossWidth / 2), p.x
- (crossWidth / 2), p.y - (crossWidth / 2));
//g.ellipse(p.x,p.y,0,20);
}
g.stroke(0, 0, 255);
for (int i = 0; i < this.debugIntersectionPointsTop.size(); i++) {
Vec2D p = this.debugIntersectionPointsTop.get(i);
float tWidth = 20;
float hover = 20;
if (p != null) {
g.line(p.x, p.y - hover, p.x, p.y - (tWidth + hover));
g.line(p.x - (tWidth / 2), p.y - (tWidth + hover), p.x
+ (tWidth / 2), p.y - (tWidth + hover));
}
}
g.stroke(0, 0, 255);
for (int i = 0; i < this.debugIntersectionPointsBottom.size(); i++) {
Vec2D p = this.debugIntersectionPointsBottom.get(i);
float bHeight = 20;
float bWidth = 10;
float hover = 20;
if (p != null) {
g.line(p.x - (bWidth / 2), p.y + hover, p.x - (bWidth / 2),