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