1 #ifndef SELECTORSIMPLE_HPP
2 #define SELECTORSIMPLE_HPP
31 #endif //SELECTORSIMPLE_HPP
Implements a simple object selection.
Definition: selectorSimple.hpp:16
~SelectorSimple()
Definition: selectorSimple.cpp:20
SelectorSimple(const std::string &name, Scene *scene)
Definition: selectorSimple.cpp:13
Encapsulates the Rendering Engine, holds a complete scene and it's assets.
Definition: scene.hpp:71
Scene * scene
Definition: sceneObject.hpp:68
void changeMode()
debug, change window size
Definition: selectorSimple.cpp:25
void pickObject(const glm::ivec2 &mouse)
Select closest object to mouse.
Definition: selectorSimple.cpp:47
std::string name
Definition: sceneObject.hpp:73
int windowY
number of pixels in window
Definition: selectorSimple.hpp:27
Base class for selectors.
Definition: selectorBase.hpp:15
int mode
debug, help to set window
Definition: selectorSimple.hpp:25
int windowX
number of pixels in window
Definition: selectorSimple.hpp:26
std::vector< GLshort > screen
Buffer to store texture on CPU.
Definition: selectorSimple.hpp:28