Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • Creates a new Line3. If unspecified, the start and end values of the line will be at origin.

    Parameters

    • values: Partial<Line3> = {}

      The values to assign to the line.

    Returns Line3

  • distance(line: Line3): number
  • distanceSquared(line: Line3): number
  • Returns the squared distance between a line's start and end point. If you're just comparing distances, this is slightly more efficient than distanceTo.

    Parameters

    Returns number