diff --git a/src/core/BufferGeometry.d.ts b/src/core/BufferGeometry.d.ts index 135a714d1d34593dbbdfee74f2833caa5782028e..652868f0f8cddd6ba74f2f02fe6310ca9c1a46f0 100644 --- a/src/core/BufferGeometry.d.ts +++ b/src/core/BufferGeometry.d.ts @@ -42,8 +42,8 @@ export class BufferGeometry extends EventDispatcher { }; morphTargetsRelative: boolean; groups: { start: number; count: number; materialIndex?: number }[]; - boundingBox: Box3; - boundingSphere: Sphere; + boundingBox: Box3 | null; + boundingSphere: Sphere | null; drawRange: { start: number; count: number }; userData: {[key: string]: any}; readonly isBufferGeometry: true; diff --git a/src/core/DirectGeometry.d.ts b/src/core/DirectGeometry.d.ts index 047407e1c8fb7eaa80c320d214f1e88c422128a5..09e26fc976f7afccf037fbb44be5e56c00fca582 100644 --- a/src/core/DirectGeometry.d.ts +++ b/src/core/DirectGeometry.d.ts @@ -27,8 +27,8 @@ export class DirectGeometry { morphTargets: MorphTarget[]; skinWeights: Vector4[]; skinIndices: Vector4[]; - boundingBox: Box3; - boundingSphere: Sphere; + boundingBox: Box3 | null; + boundingSphere: Sphere | null; verticesNeedUpdate: boolean; normalsNeedUpdate: boolean; colorsNeedUpdate: boolean; diff --git a/src/core/Geometry.d.ts b/src/core/Geometry.d.ts index 3155951f5fec8ee47bdddb2b7b0438a3dd386c62..28fbcfa3afb1d3c980e12857b99f3b0716e09740 100644 --- a/src/core/Geometry.d.ts +++ b/src/core/Geometry.d.ts @@ -121,12 +121,12 @@ export class Geometry extends EventDispatcher { /** * Bounding box. */ - boundingBox: Box3; + boundingBox: Box3 | null; /** * Bounding sphere. */ - boundingSphere: Sphere; + boundingSphere: Sphere | null; /** * Set to true if the vertices array has been updated.