Options
All
  • Public
  • Public/Protected
  • All
Menu

A ray. This is a directed half-line.

Hierarchy

  • Ray

Index

Constructors

Properties

Methods

Constructors

  • Builds a ray from its origin and direction.

    Parameters

    • origin: Vector

      The ray's starting point.

    • dir: Vector

      The ray's direction of propagation.

    Returns Ray

Properties

dir: Vector

The direction of propagation of the ray.

origin: Vector

The starting point of the ray.

Methods

  • Parameters

    • t: number

    Returns Vector

Generated using TypeDoc