From e9c14d44265df445cde7efcf55c3f4278f54b846 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Tue, 19 Dec 2023 00:00:02 -0500 Subject: [PATCH] Sphere: Add isSphere flag. --- types/three/src/math/Sphere.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/three/src/math/Sphere.d.ts b/types/three/src/math/Sphere.d.ts index 14d168b4b..033d872ce 100644 --- a/types/three/src/math/Sphere.d.ts +++ b/types/three/src/math/Sphere.d.ts @@ -6,6 +6,11 @@ import { Matrix4 } from './Matrix4.js'; export class Sphere { constructor(center?: Vector3, radius?: number); + /** + * Read-only flag to check if a given object is of type {@link Sphere}. + */ + readonly isSphere: true; + /** * @default new Vector3() */