dgt v0.3.2 (2017-09-19T17:07:41Z)
Dub
Repo
Tilemap.slideContact
dgt
tilemap
Tilemap
Determine the furthest a region can move without hitting a wall
Vector
slideContact
(float x, float y, float width, float height, Vector v)
struct
Tilemap
(T)
@
nogc
nothrow pure const
Vector
slideContact
(
in
float
x
,
in
float
y
,
in
float
width
,
in
float
height
,
in
Vector
v
)
Vector
slideContact
(Rectangle rect, Vector vec)
Meta
Source
See Implementation
dgt
tilemap
Tilemap
constructors
this
functions
destroy
empty
opIndex
opIndexAssign
slideContact
valid
properties
height
tileSize
width
static variables
INVALID_TILE
Determine the furthest a region can move without hitting a wall