Skip to main content
Module

x/targadactyl/deps.ts>Camera

tga.js implemented in Deno
Latest
interface Camera
import { type Camera } from "https://deno.land/x/targadactyl@1.2.0/deps.ts";

Properties

eye: Vector3

a 3d point locating the camera.

coa: Vector3

center of attention - the 3d point the camera is looking at.

A unit vector pointing the cameras up direction. Note that using only eye and coa would leave the roll of the camera unspecified.

near: number

near clipping plane distance

far: number

far clipping plane distance

field of view in radians