This page demonstrates the usage of basic vector Math with the Leap. In this example, we will compute the dot-product, of hand direction and index finger direction. This is a measure of how close two vectors are.
Find out more in the GL-Matrix Documentation and Wikipedia.
hand.direction · hand.indexFinger.direction =