mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-20 16:14:57 +08:00
Merge pull request #26723 from stavenko/dev/fix-geometry-buffer-attributes
[@types/three.core.BufferGeometry] Fix BufferGeometry 'attributes' field type
This commit is contained in:
4
types/three/three-core.d.ts
vendored
4
types/three/three-core.d.ts
vendored
@@ -840,7 +840,9 @@ export class BufferGeometry extends EventDispatcher {
|
||||
name: string;
|
||||
type: string;
|
||||
index: BufferAttribute;
|
||||
attributes: BufferAttribute|InterleavedBufferAttribute[];
|
||||
attributes: {
|
||||
[name: string]: BufferAttribute|InterleavedBufferAttribute;
|
||||
};
|
||||
morphAttributes: any;
|
||||
groups: {start: number, count: number, materialIndex?: number}[];
|
||||
boundingBox: Box3;
|
||||
|
||||
Reference in New Issue
Block a user