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