Skip to content

Instantly share code, notes, and snippets.

View EliezerSolinger's full-sized avatar

Eliezer Solinger EliezerSolinger

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 = {