Tilemap.slideContact

Determine the furthest a region can move without hitting a wall

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

Meta