Skip to content

Commit feac04f

Browse files
authored
Remove Float64BufferAttribute. (#844)
1 parent 000c0be commit feac04f

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

types/three/src/core/BufferAttribute.d.ts

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -630,35 +630,3 @@ export class Float32BufferAttribute extends BufferAttribute {
630630
normalized?: boolean,
631631
);
632632
}
633-
634-
/**
635-
* A {@link THREE.BufferAttribute | BufferAttribute} for {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array: Float64Array}
636-
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects | TypedArray}
637-
* @see {@link THREE.BufferAttribute | BufferAttribute} for details and for inherited methods and properties.
638-
* @see {@link https://threejs.org/docs/index.html#api/en/core/bufferAttributeTypes/BufferAttributeTypes | Official Documentation}
639-
* @see {@link https://github.com/mrdoob/three.js/blob/master/src/core/BufferAttribute.js | Source}
640-
*/
641-
export class Float64BufferAttribute extends BufferAttribute {
642-
/**
643-
* This creates a new {@link THREE.Float64BufferAttribute | Float64BufferAttribute} object.
644-
* @param array This can be a typed or untyped (normal) array or an integer length. An array value will be converted to `Float64Array`.
645-
* If a length is given a new `TypedArray` will created, initialized with all elements set to zero.
646-
* @param itemSize the number of values of the {@link array} that should be associated with a particular vertex.
647-
* For instance, if this attribute is storing a 3-component vector (such as a _position_, _normal_, or _color_),
648-
* then itemSize should be `3`.
649-
* @param normalized Applies to integer data only.
650-
* Indicates how the underlying data in the buffer maps to the values in the GLSL code.
651-
* For instance, if {@link array} is an instance of `UInt16Array`, and {@link normalized} is true,
652-
* the values `0` - `+65535` in the array data will be mapped to `0.0f` - `+1.0f` in the GLSL attribute.
653-
* An `Int16Array` (signed) would map from `-32768` - `+32767` to `-1.0f` - `+1.0f`.
654-
* If normalized is false, the values will be converted to floats unmodified,
655-
* i.e. `32767` becomes `32767.0f`.
656-
* Default `false`.
657-
* @see {@link THREE.BufferAttribute | BufferAttribute}
658-
*/
659-
constructor(
660-
array: Iterable<number> | ArrayLike<number> | ArrayBuffer | number,
661-
itemSize: number,
662-
normalized?: boolean,
663-
);
664-
}

0 commit comments

Comments
 (0)