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:
Paul van Brenk
2018-06-26 13:24:10 -07:00
committed by GitHub

View File

@@ -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;