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