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.Frustum

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

Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process.

Constructors

new
Frustum(
p0?: Plane,
p1?: Plane,
p2?: Plane,
p3?: Plane,
p4?: Plane,
p5?: Plane,
)

Properties

planes: Plane[]

Array of 6 vectors.

Methods

clone(): this
containsPoint(point: Vector3): boolean
copy(frustum: Frustum): this
intersectsBox(box: Box3): boolean
intersectsObject(object: Object3D): boolean
intersectsSphere(sphere: Sphere): boolean
intersectsSprite(sprite: Sprite): boolean
set(
p0: Plane,
p1: Plane,
p2: Plane,
p3: Plane,
p4: Plane,
p5: Plane,
): Frustum