mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 01:25:38 +08:00
Corrections on InterleavedBuffer and InterleavedBufferAttribute
This commit is contained in:
3
types/three/three-core.d.ts
vendored
3
types/three/three-core.d.ts
vendored
@@ -1451,6 +1451,7 @@ export class InterleavedBuffer {
|
||||
count: number;
|
||||
needsUpdate: boolean;
|
||||
|
||||
setArray(array?: ArrayBufferView): void;
|
||||
setDynamic(dynamic: boolean): InterleavedBuffer;
|
||||
clone(): this;
|
||||
copy(source: this): this;
|
||||
@@ -1472,7 +1473,7 @@ export class InstancedInterleavedBuffer extends InterleavedBuffer {
|
||||
* @see <a href="https://github.com/mrdoob/three.js/blob/master/src/core/InterleavedBufferAttribute.js">src/core/InterleavedBufferAttribute.js</a>
|
||||
*/
|
||||
export class InterleavedBufferAttribute {
|
||||
constructor(interleavedBuffer: InterleavedBuffer, itemSize: number, offset: number, normalized: boolean);
|
||||
constructor(interleavedBuffer: InterleavedBuffer, itemSize: number, offset: number, normalized?: boolean);
|
||||
|
||||
uuid: string;
|
||||
data: InterleavedBuffer;
|
||||
|
||||
Reference in New Issue
Block a user