h1z1-server
    Preparing search index...

    Function movePoint

    • Moves a point in a given direction by a specified distance.

      Parameters

      • position: Float32Array

        The initial position of the point, represented as a Float32Array.

      • angle: number

        The angle in radians representing the direction of movement.

      • distance: number

        The distance to move the point.

      Returns Float32Array<ArrayBuffer>

      The new position of the point after movement as a Float32Array.