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)
    struct Tilemap(T)
    @nogc nothrow pure
    slideContact
    const
    (
    in float x
    ,
    in float y
    ,
    in float width
    ,
    in float height
    ,
    )
  2. Vector slideContact(in Rectangle rect, in Vector vec)

Meta