h1z1-server
    Preparing search index...

    Function wallInterceptsLine

    • Check if the wall defined by b1, b2 is between the line a1, a2

      Parameters

      • a1: Float32Array

        The first point of the line

      • a2: Float32Array

        The second point of the line

      • b1: Float32Array

        The bottom left corner of the wall

      • b2: Float32Array

        The top right corner of the wall

      Returns boolean

      • A boolean if the line is intercepted by the wall