@studiokeywi/banjo - v0.0.1
    Preparing search index...

    Function reflect

    • Calculates the reflection of one vector against an axis

      Parameters

      • incoming: Vector2

        Left operand

      • axis: Vector2

        Right operand

      • Optionalout: Vector2 = ...

        Optional vector to store the output (can be used to inject results into an existing vector)

      Returns Vector2

      The reflected vector