Skip to content

Instantly share code, notes, and snippets.

Avatar

Dominic DeMark ddemark

View GitHub Profile
View BezierCurveExample.pde
OtherMonster monster;
void setup() {
size(640, 360);
monster = new OtherMonster();
}
void draw() {
background(#FFFFFF);
View BoundingBox.pde
// think of bounding boxes as a literal box
// this box stores an objects dimensions (x, y, width height) which will be used later for collision detection
class BoundingBox {
float left;
float right;
float top;
float bottom;
float width;
float height;
You can’t perform that action at this time.