float m_x
Current x,y position.
Definition: moving_texture.hpp:45
void setTextureMatrix(core::matrix4 *matrix)
Sets the texture matrix.
Definition: moving_texture.hpp:61
float m_dt
Delta set by user and count.
Definition: moving_texture.hpp:40
float m_dx
Translation increment per second.
Definition: moving_texture.hpp:37
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:25
void setSpeed(float dx, float dy)
Sets the speed of the animation.
Definition: moving_texture.hpp:59
core::matrix4 * m_matrix
The texture matrix of this texture.
Definition: moving_texture.hpp:47
Handles animated textures (textures that move)
Definition: moving_texture.hpp:33