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