{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.CamSettingsAttribute
  ( CamSettingsAttribute(..)
  )
where

import Rattletrap.Type.Common
import Rattletrap.Type.Float32le

data CamSettingsAttribute = CamSettingsAttribute
  { CamSettingsAttribute -> Float32le
camSettingsAttributeFov :: Float32le
  , CamSettingsAttribute -> Float32le
camSettingsAttributeHeight :: Float32le
  , CamSettingsAttribute -> Float32le
camSettingsAttributeAngle :: Float32le
  , CamSettingsAttribute -> Float32le
camSettingsAttributeDistance :: Float32le
  , CamSettingsAttribute -> Float32le
camSettingsAttributeStiffness :: Float32le
  , CamSettingsAttribute -> Float32le
camSettingsAttributeSwivelSpeed :: Float32le
  , CamSettingsAttribute -> Maybe Float32le
camSettingsAttributeTransitionSpeed :: Maybe Float32le
  } deriving (CamSettingsAttribute -> CamSettingsAttribute -> Bool
(CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> (CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> Eq CamSettingsAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c/= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
== :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c== :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
Eq, Eq CamSettingsAttribute
Eq CamSettingsAttribute
-> (CamSettingsAttribute -> CamSettingsAttribute -> Ordering)
-> (CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> (CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> (CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> (CamSettingsAttribute -> CamSettingsAttribute -> Bool)
-> (CamSettingsAttribute
    -> CamSettingsAttribute -> CamSettingsAttribute)
-> (CamSettingsAttribute
    -> CamSettingsAttribute -> CamSettingsAttribute)
-> Ord CamSettingsAttribute
CamSettingsAttribute -> CamSettingsAttribute -> Bool
CamSettingsAttribute -> CamSettingsAttribute -> Ordering
CamSettingsAttribute
-> CamSettingsAttribute -> CamSettingsAttribute
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: CamSettingsAttribute
-> CamSettingsAttribute -> CamSettingsAttribute
$cmin :: CamSettingsAttribute
-> CamSettingsAttribute -> CamSettingsAttribute
max :: CamSettingsAttribute
-> CamSettingsAttribute -> CamSettingsAttribute
$cmax :: CamSettingsAttribute
-> CamSettingsAttribute -> CamSettingsAttribute
>= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c>= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
> :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c> :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
<= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c<= :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
< :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
$c< :: CamSettingsAttribute -> CamSettingsAttribute -> Bool
compare :: CamSettingsAttribute -> CamSettingsAttribute -> Ordering
$ccompare :: CamSettingsAttribute -> CamSettingsAttribute -> Ordering
$cp1Ord :: Eq CamSettingsAttribute
Ord, Int -> CamSettingsAttribute -> ShowS
[CamSettingsAttribute] -> ShowS
CamSettingsAttribute -> String
(Int -> CamSettingsAttribute -> ShowS)
-> (CamSettingsAttribute -> String)
-> ([CamSettingsAttribute] -> ShowS)
-> Show CamSettingsAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CamSettingsAttribute] -> ShowS
$cshowList :: [CamSettingsAttribute] -> ShowS
show :: CamSettingsAttribute -> String
$cshow :: CamSettingsAttribute -> String
showsPrec :: Int -> CamSettingsAttribute -> ShowS
$cshowsPrec :: Int -> CamSettingsAttribute -> ShowS
Show)

$(deriveJson ''CamSettingsAttribute)