@ascentbv/ts-common - v1.0.207
    Preparing search index...

    Class DimVec3

    Contains a description of a vector.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    dimension: Dimension

    Dimension that this coordinate is associated with.

    x: number

    X component of this vector.

    y: number

    Y component of this vector.

    z: number

    Z component of this vector.

    zero: Vec3 = ...

    Accessors

    Methods

    • Creates a new Vec3 with the horizontal components set to the input value, and the vertical component to 0.

      Equivalent to new Vec3(v, 0, v)

      Parameters

      • v: number

      Returns Vec3