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