dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Sprite.calculateCenter
Dgame
Graphics
Sprite
Sprite
Calculate, store and return the center point. Usefull for e.g. rotate.
class
Sprite
override ref pure nothrow
const
(
Vector2s
)
calculateCenter
(
)
Meta
Source
See Implementation
Dgame
Graphics
Sprite
Sprite
constructors
this
functions
_getTextureCoordinates
_render
calculateCenter
collideWith
getBlend
getClipRect
getTexture
hasTexture
setBlend
setTexture
properties
height
width
variables
_blend
_tex
Calculate, store and return the center point. Usefull for e.g. rotate.