Pārlūkot izejas kodu

Examples: Clean up geometries

Mugen87 7 gadi atpakaļ
vecāks
revīzija
e899044389

+ 0 - 4
examples/js/geometries/ConvexGeometry.js

@@ -10,8 +10,6 @@
 
 		THREE.Geometry.call( this );
 
-		this.type = 'ConvexGeometry';
-
 		this.fromBufferGeometry( new ConvexBufferGeometry( points ) );
 		this.mergeVertices();
 
@@ -26,8 +24,6 @@
 
 		THREE.BufferGeometry.call( this );
 
-		this.type = 'ConvexBufferGeometry';
-
 		// buffers
 
 		var vertices = [];

+ 0 - 2
examples/js/geometries/DecalGeometry.js

@@ -22,8 +22,6 @@
 
 		THREE.BufferGeometry.call( this );
 
-		this.type = 'DecalGeometry';
-
 		// buffers
 
 		var vertices = [];