|
@@ -31,19 +31,7 @@ function WebGLBufferRenderer( gl, extensions, info ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- var position = geometry.attributes.position;
|
|
|
-
|
|
|
- if ( position.isInterleavedBufferAttribute ) {
|
|
|
-
|
|
|
- count = position.data.count;
|
|
|
-
|
|
|
- extension.drawArraysInstancedANGLE( mode, 0, count, geometry.maxInstancedCount );
|
|
|
-
|
|
|
- } else {
|
|
|
-
|
|
|
- extension.drawArraysInstancedANGLE( mode, start, count, geometry.maxInstancedCount );
|
|
|
-
|
|
|
- }
|
|
|
+ extension.drawArraysInstancedANGLE( mode, start, count, geometry.maxInstancedCount );
|
|
|
|
|
|
info.update( count, mode, geometry.maxInstancedCount );
|
|
|
|