add brush follow-orientation flag to stroke settings and fix stroke preview

This commit is contained in:
2017-08-20 16:01:49 +01:00
parent eee574085b
commit 506923de69
8 changed files with 77 additions and 14 deletions

View File

@@ -30,6 +30,11 @@ template<typename T, int N> struct cbuffer
m_index = 0;
m_count = 0;
}
void clear()
{
m_index = 0;
m_count = 0;
}
T& head()
{
return m_index == 0 ? m_vec[m_count - 1] : m_vec[m_index - 1];