mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Adding WaltHead back to subdivision example
This commit is contained in:
@@ -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 }
|
||||
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user