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.Matrix4#makePerspective

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

Creates a frustum matrix.

Parameters

left: number
right: number
bottom: number
top: number
near: number
far: number

Creates a perspective projection matrix.

Parameters

fov: number
aspect: number
near: number
far: number