Инструмент поворота

This commit is contained in:
2023-04-04 16:47:44 +03:00
committed by re.kovalev
parent 5981f9011f
commit e2706b13af
3 changed files with 66 additions and 2 deletions

View File

@@ -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