{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module THREE.Matrix2
(
Matrix2 (..)
, THREE.Matrix2.new
) where
import Miso
import qualified THREE.Internal as THREE
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)
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])