-- | -- Module : Graphics.Michelangelo.lenses -- Description : -- Copyright : (c) Jonatan H Sundqvist, 2015 -- License : MIT -- Maintainer : Jonatan H Sundqvist -- Stability : experimental|stable -- Portability : POSIX (not sure) -- -- Created November 22 2015 -- TODO | - -- - -- SPEC | - -- - -------------------------------------------------------------------------------------------------------------------------------------------- -- GHC Pragmas -------------------------------------------------------------------------------------------------------------------------------------------- {-# LANGUAGE TemplateHaskell #-} -- {-# LANGUAGE MultiParamTypeClasses #-} -- Compilation silently fails without this... {-# LANGUAGE FunctionalDependencies #-} -- Ditto {-# LANGUAGE FlexibleInstances #-} -- -------------------------------------------------------------------------------------------------------------------------------------------- -- API -------------------------------------------------------------------------------------------------------------------------------------------- module Graphics.Michelangelo.Lenses where -------------------------------------------------------------------------------------------------------------------------------------------- -- We'll need these -------------------------------------------------------------------------------------------------------------------------------------------- import Control.Lens import Graphics.Michelangelo.Types -------------------------------------------------------------------------------------------------------------------------------------------- -- Lenses -------------------------------------------------------------------------------------------------------------------------------------------- makeFields ''Mesh makeFields ''Entity makeFields ''ShaderProgram makePrisms ''UniformValue