38 #ifndef H_OGF_SCENE_GRAPH_GFX_TRANSFORMS_TRANSLATION_H
39 #define H_OGF_SCENE_GRAPH_GFX_TRANSFORMS_TRANSLATION_H
41 #include <OGF/scene_graph_gfx/common/common.h>
76 void grab(
const vec2& value) ;
97 void value_changed(
const vec3& value) ;
100 vec2 last_position_ ;
Base class for all objects in the GOM system.
Enables to interactively define a 2d translation.
void release(const vec2 &value)
Callback called when the mouse button is released.
void drag(const vec2 &value)
Callback called when the mouse is moved.
~Translation() override
Translation destructor.
Translation()
Translation constructor.
Geometric functions in 2d and 3d.
Global Graphite namespace.
The base class for all composite objects in the GOM system.