-----------------------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
module THREE.LinearInterpolant
  ( -- * Types
    LinearInterpolant (..)
    -- * Methods
  , THREE.LinearInterpolant.new
    -- * Properties
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import qualified THREE.Internal as THREE
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/scenes/LinearInterpolant
newtype LinearInterpolant
  = LinearInterpolant
  { LinearInterpolant -> JSVal
unLinearInterpolantCamera :: JSVal
  } deriving (LinearInterpolant -> IO Object
(LinearInterpolant -> IO Object) -> ToObject LinearInterpolant
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: LinearInterpolant -> IO Object
toObject :: LinearInterpolant -> IO Object
ToObject)
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/cameras/LinearInterpolant
new :: THREE.Three LinearInterpolant
new :: Three LinearInterpolant
new = (JSVal -> LinearInterpolant)
-> MisoString -> [MisoString] -> Three LinearInterpolant
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> LinearInterpolant
LinearInterpolant MisoString
"LinearInterpolant" ([] :: [MisoString])
-----------------------------------------------------------------------------