h1z1-server
    Preparing search index...

    Function getAngle

    • Calculates the angle between two points in a 2D space.

      Parameters

      • position1: Float32Array

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

      • position2: Float32Array

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

      Returns number

      The angle between the two points in radians.