{-| Module : $Header$ Copyright : (c) 2016-19 Brian W Bush License : MIT Maintainer : Brian W Bush Stability : Stable Portability : Portable Types for Leap Motion \<\>, based on the Web Socket API \<\>. -} module System.Hardware.Leap.Types ( -- * Types LeapId , Duration , Vector , Basis , Matrix ) where -- | ID for an item tracked by Leap. type LeapId = Int -- | Measurement of time. type Duration = Int -- | Three dimensional vector. type Vector a = (a, a, a) -- | Three dimensional basis. type Basis a = (Vector a, Vector a, Vector a) -- | Three dimensional rotation matrix. type Matrix a = (Vector a, Vector a, Vector a)