implement simple brush projection on single cube face, add camera rotation instead of pan
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user