Browse Source

Merge pull request #17205 from samalexander/patch-1

Add missing property to BufferGeometry.d.ts
Michael Herzog 6 years ago
parent
commit
72ac6e0ca5
2 changed files with 3 additions and 0 deletions
  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.
 	 */