Jelajahi Sumber

Fix InstancedBufferAttribute Typescript definitions

nsunderland-cognite 6 tahun lalu
induk
melakukan
615b3f21a4
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/core/InstancedBufferAttribute.d.ts

+ 2 - 1
src/core/InstancedBufferAttribute.d.ts

@@ -37,8 +37,9 @@ export namespace GeometryUtils {
  */
 export class InstancedBufferAttribute extends BufferAttribute {
   constructor(
-    data: ArrayLike<number>,
+    array: ArrayLike<number>,
     itemSize: number,
+    normalized?: boolean,
     meshPerAttribute?: number
   );