fix physijs/tests/jenga.ts

This commit is contained in:
vvakame
2015-09-03 20:56:43 +09:00
parent eb6ccff48c
commit e66a296069
+2 -2
View File
@@ -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
);