41 ModelWidget(gui, tag, model), _position(0.0f), _steps(0), _state(0) {
79 if (state != SDL_BUTTON_LMASK)
90 if (state != SDL_BUTTON_LMASK)
97 float curX, curY, curZ;
101 int state = roundf(pX *
_steps);
A class holding an UTF-8 string.
void setClickable(bool clickable)
Set the object's clickable state.
Utility templates and functions.
float getWidth() const
Get the width of the node's bounding box.
A node within a 3D model.
void move(float x, float y, float z)
Move the node, relative to its current position.
T CLIP(T v, T amin, T amax)
ModelNode * getNode(const Common::UString &node)
Get the specified node, from the current state.