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