Инструмент поворота
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define TRS_H
|
||||
|
||||
#define T_SENSITIVITY 0.001f
|
||||
#define R_SENSITIVITY 0.01f
|
||||
|
||||
#include "Scene.h"
|
||||
|
||||
@@ -24,4 +25,12 @@ class Transform : public TRS
|
||||
virtual void process(GLuint64 selectedID, GLuint etc, const glm::vec4& dpos); // Взаимодействие с инструментом
|
||||
};
|
||||
|
||||
// Инструмент поворота
|
||||
class Rotate : public TRS
|
||||
{
|
||||
public:
|
||||
Rotate();
|
||||
virtual void process(GLuint64 selectedID, GLuint etc, const glm::vec4& drot); // Взаимодействие с инструментом
|
||||
};
|
||||
|
||||
#endif // TRS_H
|
||||
Reference in New Issue
Block a user