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

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

Constructors

new
Triangle(
a?: Vector3,
b?: Vector3,
c?: Vector3,
)

Methods

clone(): this
containsPoint(point: Vector3): boolean
copy(triangle: Triangle): this
equals(triangle: Triangle): boolean
getArea(): number
getPlane(target: Plane): Plane
getUV(
point: Vector3,
uv1: Vector2,
uv2: Vector2,
uv3: Vector2,
target: Vector2,
): Vector2
intersectsBox(box: Box3): boolean
isFrontFacing(direction: Vector3): boolean
setFromAttributeAndIndices(
i0: number,
i1: number,
i2: number,
): this
setFromPointsAndIndices(
points: Vector3[],
i0: number,
i1: number,
i2: number,
): this

Static Methods

containsPoint(
point: Vector3,
): boolean
getUV(
point: Vector3,
p1: Vector3,
p2: Vector3,
p3: Vector3,
uv1: Vector2,
uv2: Vector2,
uv3: Vector2,
target: Vector2,
): Vector2
isFrontFacing(
direction: Vector3,
): boolean