- Finger Direction Detection (see details below)
- Refactoring, improved Code Coverage
Finger Direction Detection
With this version it's possible to detect the direction the fingers point at. Each FingerPoint has a DirectionVector (normalized to a length of 1) that indicates the direction the finger is pointing at. That means you can define the following function where p is the tip of the finger, v is the direction vector and a is a scalar value: f(a) = v*a + p
This results in the orange line (I've limited the length).
There is a new setting option that toggles whether the finger direction should be detected or not.