|
@@ -32,11 +32,13 @@ THREE.BufferGeometry.prototype = {
|
|
|
|
|
|
this.attributes[ name ] = {
|
|
this.attributes[ name ] = {
|
|
|
|
|
|
- itemSize: itemSize,
|
|
|
|
- array: new type( numItems * itemSize )
|
|
|
|
|
|
+ array: new type( numItems * itemSize ),
|
|
|
|
+ itemSize: itemSize
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ return this.attributes[ name ];
|
|
|
|
+
|
|
},
|
|
},
|
|
|
|
|
|
applyMatrix: function ( matrix ) {
|
|
applyMatrix: function ( matrix ) {
|