matrix-dom
    Preparing search index...

    Function direction

    • Create a direction object having x, y, z properties and next/prev methods

      Parameters

      • x: number

        The x difference along the line

      • y: number

        The y difference along the line

      • z: number = 0

        The z difference along the line

      Returns Direction