|
@@ -342,9 +342,9 @@ Object.assign( BufferAttribute.prototype, {
|
|
|
|
|
|
//
|
|
|
|
|
|
-function Int8BufferAttribute( array, itemSize ) {
|
|
|
+function Int8BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Int8Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Int8Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -352,9 +352,9 @@ Int8BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Int8BufferAttribute.prototype.constructor = Int8BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Uint8BufferAttribute( array, itemSize ) {
|
|
|
+function Uint8BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Uint8Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Uint8Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -362,9 +362,9 @@ Uint8BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Uint8BufferAttribute.prototype.constructor = Uint8BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Uint8ClampedBufferAttribute( array, itemSize ) {
|
|
|
+function Uint8ClampedBufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Uint8ClampedArray( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Uint8ClampedArray( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -372,9 +372,9 @@ Uint8ClampedBufferAttribute.prototype = Object.create( BufferAttribute.prototype
|
|
|
Uint8ClampedBufferAttribute.prototype.constructor = Uint8ClampedBufferAttribute;
|
|
|
|
|
|
|
|
|
-function Int16BufferAttribute( array, itemSize ) {
|
|
|
+function Int16BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Int16Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Int16Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -382,9 +382,9 @@ Int16BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Int16BufferAttribute.prototype.constructor = Int16BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Uint16BufferAttribute( array, itemSize ) {
|
|
|
+function Uint16BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Uint16Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Uint16Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -392,9 +392,9 @@ Uint16BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Uint16BufferAttribute.prototype.constructor = Uint16BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Int32BufferAttribute( array, itemSize ) {
|
|
|
+function Int32BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Int32Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Int32Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -402,9 +402,9 @@ Int32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Int32BufferAttribute.prototype.constructor = Int32BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Uint32BufferAttribute( array, itemSize ) {
|
|
|
+function Uint32BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Uint32Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Uint32Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -412,9 +412,9 @@ Uint32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Uint32BufferAttribute.prototype.constructor = Uint32BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Float32BufferAttribute( array, itemSize ) {
|
|
|
+function Float32BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Float32Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Float32Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -422,9 +422,9 @@ Float32BufferAttribute.prototype = Object.create( BufferAttribute.prototype );
|
|
|
Float32BufferAttribute.prototype.constructor = Float32BufferAttribute;
|
|
|
|
|
|
|
|
|
-function Float64BufferAttribute( array, itemSize ) {
|
|
|
+function Float64BufferAttribute( array, itemSize, normalized ) {
|
|
|
|
|
|
- BufferAttribute.call( this, new Float64Array( array ), itemSize );
|
|
|
+ BufferAttribute.call( this, new Float64Array( array ), itemSize, normalized );
|
|
|
|
|
|
}
|
|
|
|