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