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