Tilemap.slideContact

Determine the furthest a region can move without hitting a wall

  1. Vector slideContact(float x, float y, float width, float height, Vector v)
  2. Vector slideContact(Rectangle rect, Vector vec)
    struct Tilemap(T)
    @nogc nothrow pure const
    slideContact

Meta