dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Tilemap.slideContact
dgt
tilemap
Tilemap
Determine the furthest a region can move without hitting a wall
Vector
slideContact
(
in
float
x
,
in
float
y
,
in
float
width
,
in
float
height
,
in
Vector
v
)
Vector
slideContact
(
in
Rectangle
rect
,
in
Vector
vec
)
struct
Tilemap
(T)
@
nogc
nothrow pure
Vector
slideContact
const
(
in
Rectangle
rect
,
in
Vector
vec
)
Meta
Source
See Implementation
dgt
tilemap
Tilemap
constructors
this
functions
destroy
empty
opIndex
opIndexAssign
slideContact
valid
properties
height
tileSize
width
Determine the furthest a region can move without hitting a wall