Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.Sphere

A framework for Beat Saber map scripting.
Go to Latest
class three.Sphere
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Sphere } = three;

Constructors

new
Sphere(center?: Vector3, radius?: number)

Properties

center: Vector3
radius: number

Methods

clampPoint(point: Vector3, target: Vector3): Vector3
clone(): this
containsPoint(point: Vector3): boolean
copy(sphere: Sphere): this
distanceToPoint(point: Vector3): number
deprecated
empty(): any
equals(sphere: Sphere): boolean
expandByPoint(point: Vector3): this
intersectsBox(box: Box3): boolean
intersectsPlane(plane: Plane): boolean
intersectsSphere(sphere: Sphere): boolean
isEmpty(): boolean
makeEmpty(): this
set(center: Vector3, radius: number): Sphere
setFromPoints(points: Vector3[], optionalCenter?: Vector3): Sphere
union(sphere: Sphere): this