소스 검색

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