diff --git a/demos/shapes.html b/demos/shapes.html index 5448d58fa..2b940e87e 100644 --- a/demos/shapes.html +++ b/demos/shapes.html @@ -20,28 +20,6 @@ var demo = new CANNON.Demo(); var mass = 1, size = 1; - - function createTetra(){ - var verts = [new CANNON.Vec3(0,0,0), - new CANNON.Vec3(2,0,0), - new CANNON.Vec3(0,2,0), - new CANNON.Vec3(0,0,2)]; - var offset = -0.35; - for(var i=0; i