Переглянути джерело

Fix InstancedBufferAttribute Typescript definitions

nsunderland-cognite 6 роки тому
батько
коміт
615b3f21a4
1 змінених файлів з 2 додано та 1 видалено
  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
   );