Explorar el Código

Added name property to BufferGeometry.

Mr.doob hace 13 años
padre
commit
e9fea44c6c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/core/BufferGeometry.js

+ 2 - 0
src/core/BufferGeometry.js

@@ -7,6 +7,8 @@ THREE.BufferGeometry = function () {
 	this.id = THREE.GeometryIdCount ++;
 	this.uuid = THREE.Math.generateUUID();
 
+	this.name = '';
+
 	// attributes
 
 	this.attributes = {};

粤ICP备19079148号