Skip to content

Instantly share code, notes, and snippets.

View Lhuith's full-sized avatar

Eugene Martens Lhuith

View GitHub Profile
@BonsaiDen
BonsaiDen / box.js
Created August 2, 2013 23:18
Really simple AABB only physics engine.
(function(exports) {
// Vector Class -----------------------------------------------------------
// ------------------------------------------------------------------------
function Vector2(x, y) {
this.x = x;
this.y = y;
}
Vector2.prototype = {