skip apple pencil first n samples to overcome the initial pressure spike

This commit is contained in:
2018-10-24 13:10:23 +02:00
parent 73228a4bf1
commit 46a4b217bf
5 changed files with 16 additions and 11 deletions

View File

@@ -96,6 +96,7 @@ public:
cbuffer<glm::vec3, 3> m_hsv_jitter;
StrokeSample m_prev_sample;
std::vector<Keypoint> m_keypoints;
std::vector<std::pair<glm::vec2, float>> m_hold_points;
std::vector<StrokeSample> m_samples;
int m_last_kp;
std::minstd_rand prng;