Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added psuedo inf bounding boxes and individual boundary relations. An…
…d I deleted a bunch of old stuff.
- Loading branch information
Showing
17 changed files
with
435 additions
and
1,007 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
class BoundingBox { | ||
float x1, x2, y1, y2; | ||
public BoundingBox(float _x1, float _x2, float _y1, float _y2) | ||
{ | ||
x1 = _x1; | ||
x2 = _x2; | ||
y1 = _y1; | ||
y2 = _y2; | ||
} | ||
void draw() | ||
{ | ||
pushStyle(); | ||
stroke(0); | ||
line(x1, y1, x2, y1); | ||
line(x1, y2, x2, y2); | ||
line(x1, y1, x1, y2); | ||
line(x2, y1, x2, y2); | ||
popStyle(); | ||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.