Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Vector

A vector is a tuple of three numbers that can act as position, size and direction.

Hierarchy

  • Vector

Index

Constructors

Properties

Constructors

constructor

  • new Vector(x: number, y: number, z: number): Vector
  • Parameters

    • x: number
    • y: number
    • z: number

    Returns Vector

Properties

x

x: number

X-Coordinate.

y

y: number

Y-Coordinate.

z

z: number

Z-Coordinate.

Generated using TypeDoc