Fix some TypeScript definitions
@@ -37,7 +37,9 @@ export class BufferGeometry extends EventDispatcher {
attributes: {
[name: string]: BufferAttribute | InterleavedBufferAttribute;
};
- morphAttributes: any;
+ morphAttributes: {
+ [name: string]: ( BufferAttribute | InterleavedBufferAttribute )[];
+ };
groups: { start: number; count: number; materialIndex?: number }[];
boundingBox: Box3;
boundingSphere: Sphere;
@@ -2,13 +2,13 @@ export abstract class Interpolant {
constructor(
parameterPositions: any,
- samplesValues: any,
+ sampleValues: any,
sampleSize: number,
resultBuffer?: any
);
parameterPositions: any;
- samplesValues: any;
+ sampleValues: any;
valueSize: number;
resultBuffer: any;