Ejemplo n.º 1
0
 private static bool FingerCloseToBoundary(Pointable p)
 {
     if (m_device != null)
     {
         float distanceToBoxWall = m_device.DistanceToBoundary(p.TipPosition);
         // TODO: make this changable through Unity?
         if (distanceToBoxWall < 5.0)
         {
             return(true);
         }
     }
     return(false);
 }