File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ InstancedBufferGeometry.prototype.constructor = InstancedBufferGeometry;
18
18
19
19
InstancedBufferGeometry . prototype . isInstancedBufferGeometry = true ;
20
20
21
- InstancedBufferGeometry . prototype . addGroup = function ( start , count , instances ) {
21
+ InstancedBufferGeometry . prototype . addGroup = function ( start , count , materialIndex ) {
22
22
23
23
this . groups . push ( {
24
24
25
25
start : start ,
26
26
count : count ,
27
- instances : instances
27
+ materialIndex : materialIndex
28
28
29
29
} ) ;
30
30
@@ -54,7 +54,7 @@ InstancedBufferGeometry.prototype.copy = function ( source ) {
54
54
for ( var i = 0 , l = groups . length ; i < l ; i ++ ) {
55
55
56
56
var group = groups [ i ] ;
57
- this . addGroup ( group . start , group . count , group . instances ) ;
57
+ this . addGroup ( group . start , group . count , group . materialIndex ) ;
58
58
59
59
}
60
60
You can’t perform that action at this time.
0 commit comments