d2d ~master (2018-04-09T05:09:26Z)
Home
Dub
Repo
toPolygon
d2d
sdl2
Gets a 2d axis aligned bounding box as a polygon
Polygon
!(
T
, 4)
toPolygon
(
T
)
(
AxisAlignedBoundingBox
!(
T
, 2)
rec
)
Meta
Source
See Implementation
d2d
sdl2
modules
Color
EventHandler
Font
InputSource
Keyboard
Mouse
Polygon
Renderer
Sound
Surface
Texture
Window
functions
ensureSafe
handle
loadLibImage
loadLibMixer
loadLibSDL
loadLibTTF
toPolygon
Gets a 2d axis aligned bounding box as a polygon