From e66a2960695a0bea224a0f96b24b9966dc3d6fad Mon Sep 17 00:00:00 2001 From: vvakame Date: Thu, 3 Sep 2015 20:56:43 +0900 Subject: [PATCH] fix physijs/tests/jenga.ts --- physijs/tests/jenga.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physijs/tests/jenga.ts b/physijs/tests/jenga.ts index e2eeecc94..77b9c6cd6 100644 --- a/physijs/tests/jenga.ts +++ b/physijs/tests/jenga.ts @@ -85,7 +85,7 @@ initScene = function() { // Materials table_material = Physijs.createMaterial( - new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/wood.jpg' ), ambient: 0xFFFFFF }), + new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/wood.jpg' ) }), .9, // high friction .2 // low restitution ); @@ -93,7 +93,7 @@ initScene = function() { table_material.map.repeat.set( 5, 5 ); block_material = Physijs.createMaterial( - new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/plywood.jpg' ), ambient: 0xFFFFFF }), + new THREE.MeshLambertMaterial({ map: THREE.ImageUtils.loadTexture( 'images/plywood.jpg' ) }), .4, // medium friction .4 // medium restitution );