浏览代码

Merge pull request #17205 from samalexander/patch-1

Add missing property to BufferGeometry.d.ts
Michael Herzog 6 年之前
父节点
当前提交
72ac6e0ca5
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      src/core/BufferGeometry.d.ts
  2. 2 0
      src/core/Geometry.d.ts

+ 1 - 0
src/core/BufferGeometry.d.ts

@@ -43,6 +43,7 @@ export class BufferGeometry extends EventDispatcher {
 	boundingSphere: Sphere;
 	drawRange: { start: number; count: number };
 	userData: {[key: string]: any};
+	isBufferGeometry: boolean;
 
 	getIndex(): BufferAttribute;
 	setIndex( index: BufferAttribute | number[] ): void;

+ 2 - 0
src/core/Geometry.d.ts

@@ -50,6 +50,8 @@ export class Geometry extends EventDispatcher {
 
 	uuid: string;
 
+	isGeometry: boolean;
+
 	/**
 	 * Name for this geometry. Default is an empty string.
 	 */