From f2fc7815232a7ebbc2dcd6241a357cf661fb64fe Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 23 Feb 2015 11:42:36 -0800 Subject: [PATCH] change shapeType to use strings in billiards.js --- examples/example/games/billiards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example/games/billiards.js b/examples/example/games/billiards.js index cb30cc631f..d4bc71ba37 100644 --- a/examples/example/games/billiards.js +++ b/examples/example/games/billiards.js @@ -122,7 +122,7 @@ function makeBalls(pos) { gravity: { x: 0, y: GRAVITY, z: 0 }, ignoreCollisions: false, damping: 0.50, - shapeType: 2, + shapeType: "sphere", collisionsWillMove: true })); ballPosition.z += (BALL_SIZE + BALL_GAP) * SCALE; ballNumber++; @@ -143,7 +143,7 @@ function makeBalls(pos) { velocity: {x: 0, y: 0, z: 0 }, ignoreCollisions: false, damping: 0.50, - shapeType: 2, + shapeType: "sphere", collisionsWillMove: true }); }