{-# LANGUAGE TemplateHaskell, Arrows #-}
module Graphics.RedViz.Input.Mouse
( Mouse (..)
, pos
, rpos
, mmov
) where
import Control.Lens
import Linear.V3
data Mouse
= Mouse
{
Mouse -> Maybe (Double, Double)
_lmb :: Maybe (Double, Double)
, Mouse -> Maybe (Double, Double)
_rmb :: Maybe (Double, Double)
, Mouse -> (Double, Double)
_pos :: (Double, Double)
, Mouse -> (Double, Double)
_rpos :: (Double, Double)
, Mouse -> Bool
_mmov :: Bool
, Mouse -> [V3 Double]
mVecs :: [V3 Double]
} deriving Int -> Mouse -> ShowS
[Mouse] -> ShowS
Mouse -> String
(Int -> Mouse -> ShowS)
-> (Mouse -> String) -> ([Mouse] -> ShowS) -> Show Mouse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Mouse] -> ShowS
$cshowList :: [Mouse] -> ShowS
show :: Mouse -> String
$cshow :: Mouse -> String
showsPrec :: Int -> Mouse -> ShowS
$cshowsPrec :: Int -> Mouse -> ShowS
Show
$(makeLenses ''Mouse)