@@ -22,7 +22,7 @@ function BufferAttribute ( array, itemSize, normalized ) {
2222 this . version = 0 ;
2323 this . normalized = normalized === true ;
2424
25- } ;
25+ }
2626
2727BufferAttribute . prototype = {
2828
@@ -313,78 +313,67 @@ BufferAttribute.prototype = {
313313//
314314
315315function Int8Attribute ( array , itemSize ) {
316- this . isInt8Attribute = true ;
317316
318317 return new BufferAttribute ( new Int8Array ( array ) , itemSize ) ;
319318
320- } ;
319+ }
321320
322321function Uint8Attribute ( array , itemSize ) {
323- this . isUint8Attribute = true ;
324322
325323 return new BufferAttribute ( new Uint8Array ( array ) , itemSize ) ;
326324
327- } ;
325+ }
328326
329327function Uint8ClampedAttribute ( array , itemSize ) {
330- this . isUint8ClampedAttribute = true ;
331328
332329 return new BufferAttribute ( new Uint8ClampedArray ( array ) , itemSize ) ;
333330
334- } ;
331+ }
335332
336333function Int16Attribute ( array , itemSize ) {
337- this . isInt16Attribute = true ;
338334
339335 return new BufferAttribute ( new Int16Array ( array ) , itemSize ) ;
340336
341- } ;
337+ }
342338
343339function Uint16Attribute ( array , itemSize ) {
344- this . isUint16Attribute = true ;
345340
346341 return new BufferAttribute ( new Uint16Array ( array ) , itemSize ) ;
347342
348- } ;
343+ }
349344
350345function Int32Attribute ( array , itemSize ) {
351- this . isInt32Attribute = true ;
352346
353347 return new BufferAttribute ( new Int32Array ( array ) , itemSize ) ;
354348
355- } ;
349+ }
356350
357351function Uint32Attribute ( array , itemSize ) {
358- this . isUint32Attribute = true ;
359352
360353 return new BufferAttribute ( new Uint32Array ( array ) , itemSize ) ;
361354
362- } ;
355+ }
363356
364357function Float32Attribute ( array , itemSize ) {
365- this . isFloat32Attribute = true ;
366358
367359 return new BufferAttribute ( new Float32Array ( array ) , itemSize ) ;
368360
369- } ;
361+ }
370362
371363function Float64Attribute ( array , itemSize ) {
372- this . isFloat64Attribute = true ;
373364
374365 return new BufferAttribute ( new Float64Array ( array ) , itemSize ) ;
375366
376- } ;
377-
367+ }
378368
379369// Deprecated
380370
381371function DynamicBufferAttribute ( array , itemSize ) {
382- this . isDynamicBufferAttribute = true ;
383372
384373 console . warn ( 'THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.' ) ;
385374 return new BufferAttribute ( array , itemSize ) . setDynamic ( true ) ;
386375
387- } ;
376+ }
388377
389378
390379export {
@@ -399,4 +388,4 @@ export {
399388 Uint8Attribute ,
400389 Int8Attribute ,
401390 BufferAttribute
402- } ;
391+ } ;
0 commit comments