optimize stroke drawing

This commit is contained in:
2018-12-07 00:45:14 +01:00
parent 4980105d51
commit bbdad5a857
7 changed files with 131 additions and 69 deletions

View File

@@ -131,6 +131,7 @@ public:
bool m_show_tmp = false;
std::vector<Layer> m_layers;
std::vector<int> m_order;
std::vector<glm::vec2> m_plane_shape[6]; // screen space projection of the plane
glm::mat4 m_plane_unproject[6] = SIXPLETTE(glm::mat4(1));
glm::vec3 m_plane_dir[6] = SIXPLETTE(glm::vec3(0));
glm::vec4 m_dirty_box[6] = SIXPLETTE(glm::vec4(0));