Adding WaltHead back to subdivision example

This commit is contained in:
zz85
2011-10-23 01:24:26 +08:00
parent a92ee99dab
commit cfc77699d3
+11 -1
View File
@@ -72,6 +72,15 @@
materials.push( [ new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff, wireframe: false } ) ] );
}
var loader = new THREE.JSONLoader();
loader.load( 'obj/WaltHeadLo.js', function ( geometry ) {
THREE.WaltHead = function() {
return geometry;
};
} );
var geometriesParams = [
@@ -87,7 +96,8 @@
font: "helvetiker"
}]},
{type: 'PlaneGeometry', args: [ 200, 200, 4, 4 ] }
{type: 'PlaneGeometry', args: [ 200, 200, 4, 4 ] },
{type: 'WaltHead', args: [ ], scale: 6 }
];