{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module THREE.Curve
(
Curve (..)
, THREE.Curve.new
) where
import Miso
import qualified THREE.Internal as THREE
newtype Curve
= Curve
{ Curve -> JSVal
unCurveCamera :: JSVal
} deriving (Curve -> IO Object
(Curve -> IO Object) -> ToObject Curve
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: Curve -> IO Object
toObject :: Curve -> IO Object
ToObject)
new :: THREE.Three Curve
new :: Three Curve
new = (JSVal -> Curve) -> MisoString -> [MisoString] -> Three Curve
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> Curve
Curve MisoString
"Curve" ([] :: [MisoString])