Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lookat"

Index

Functions

Functions

Const lookAt

  • lookAt(out: Mat | null, eye: ReadonlyVec, target: ReadonlyVec, up: ReadonlyVec): Vec
  • Constructs a M44 camera matrix for given eye position, look-at target (both in world space) and up vector.

    Parameters

    • out: Mat | null
    • eye: ReadonlyVec
    • target: ReadonlyVec
    • up: ReadonlyVec

    Returns Vec

Generated using TypeDoc