|
|
@@ -22,18 +22,6 @@ function WebGLGeometries( gl, attributes, info, bindingStates ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- for ( const name in geometry.morphAttributes ) {
|
|
|
-
|
|
|
- const array = geometry.morphAttributes[ name ];
|
|
|
-
|
|
|
- for ( let i = 0, l = array.length; i < l; i ++ ) {
|
|
|
-
|
|
|
- attributes.remove( array[ i ] );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
geometry.removeEventListener( 'dispose', onGeometryDispose );
|
|
|
|
|
|
delete geometries[ geometry.id ];
|
|
|
@@ -87,22 +75,6 @@ function WebGLGeometries( gl, attributes, info, bindingStates ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- // morph targets
|
|
|
-
|
|
|
- const morphAttributes = geometry.morphAttributes;
|
|
|
-
|
|
|
- for ( const name in morphAttributes ) {
|
|
|
-
|
|
|
- const array = morphAttributes[ name ];
|
|
|
-
|
|
|
- for ( let i = 0, l = array.length; i < l; i ++ ) {
|
|
|
-
|
|
|
- attributes.update( array[ i ], gl.ARRAY_BUFFER );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
function updateWireframeAttribute( geometry ) {
|