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