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