|
@@ -476,6 +476,13 @@ THREE.BufferGeometry.prototype = {
|
|
|
this.hasTangents = true;
|
|
|
this.tangentsNeedUpdate = true;
|
|
|
|
|
|
+ },
|
|
|
+
|
|
|
+ deallocate: function () {
|
|
|
+
|
|
|
+ var index = THREE.GeometryLibrary.indexOf( this );
|
|
|
+ if ( index !== -1 ) THREE.GeometryLibrary.splice( index, 1 );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
};
|