Fix broken references to THREE namespace in geometries.
@@ -16,7 +16,7 @@ function DodecahedronGeometry( radius, detail ) {
detail: detail
};
- this.fromBufferGeometry( new THREE.DodecahedronBufferGeometry( radius, detail ) );
+ this.fromBufferGeometry( new DodecahedronBufferGeometry( radius, detail ) );
this.mergeVertices();
}
@@ -16,7 +16,7 @@ function IcosahedronGeometry( radius, detail ) {
- this.fromBufferGeometry( new THREE.IcosahedronBufferGeometry( radius, detail ) );
+ this.fromBufferGeometry( new IcosahedronBufferGeometry( radius, detail ) );
@@ -16,7 +16,7 @@ function OctahedronGeometry( radius, detail ) {
- this.fromBufferGeometry( new THREE.OctahedronBufferGeometry( radius, detail ) );
+ this.fromBufferGeometry( new OctahedronBufferGeometry( radius, detail ) );
@@ -16,7 +16,7 @@ function TetrahedronGeometry( radius, detail ) {
- this.fromBufferGeometry( new THREE.TetrahedronBufferGeometry( radius, detail ) );
+ this.fromBufferGeometry( new TetrahedronBufferGeometry( radius, detail ) );