implement simple brush projection on single cube face, add camera rotation instead of pan

This commit is contained in:
2017-04-26 23:51:05 +01:00
parent 874176c19a
commit e6332322b3
4 changed files with 141 additions and 19 deletions

View File

@@ -54,9 +54,15 @@ public:
float pressure;
float dist;
};
struct Camera
{
glm::vec2 rot;
float fov;
};
int m_layer;
float m_dist;
float m_step;
Camera m_camera;
ui::Brush m_brush;
std::vector<Keypoint> m_keypoints;
std::vector<StrokeSample> m_samples;