Represents a point or vector in 3D space. Functions that take a vector parameter should accept GenericVector so that many different types of vector can be provided.

interface GenericVector {
    getX(): number;
    getY(): number;
    getZ(): number;
}

Implemented by

Methods

Methods

  • Returns the X value of this GenericVector.

    Returns number

    the X value of this GenericVector

  • Returns the Y value of this GenericVector.

    Returns number

    the Y value of this GenericVector

  • Returns the Z value of this GenericVector.

    Returns number

    the Z value of this GenericVector

Generated using TypeDoc