浏览代码

Examples: Clean up geometries

Mugen87 7 年之前
父节点
当前提交
e899044389
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 4
      examples/js/geometries/ConvexGeometry.js
  2. 0 2
      examples/js/geometries/DecalGeometry.js

+ 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 = [];