luminance 0.3.1 → 0.3.1.1
raw patch · 3 files changed
+7/−3 lines, 3 files
Files
- CHANGELOG.md +4/−0
- luminance.cabal +1/−1
- src/Graphics/Luminance.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+### 0.3.1.1++- Fixed haddock escaping issues.+ ## 0.3.1 - Added `CubeFace` in the interface.
luminance.cabal view
@@ -1,5 +1,5 @@ name: luminance-version: 0.3.1+version: 0.3.1.1 synopsis: Type-safe, dependently-typed and stateless graphics framework description: This package exposes several modules to work with /GPUs/ in a stateless and type-safe way. Currently, it uses __OpenGL__ as backend hardware technology but
src/Graphics/Luminance.hs view
@@ -164,7 +164,7 @@ -- Here’s an exemple of such a use: -- -- @--- (program,uniformInterface) <- 'createProgram' shaderStages $ \uni -> do+-- (program,uniformInterface) \<- 'createProgram' shaderStages $ \\uni -\> do -- resolutionU <- uni $ 'Left' "resolution" -- timeU <- uni $ 'Left' "time" -- 'pure' $ 'divided' resolutionU timeU@@ -254,7 +254,7 @@ -- Now, let’s create the shader 'Stage's and the shader 'Program': -- -- @--- program <- 'sequenceA' ['createVertexShader' vsSrc,'createFragmentShader' fsSrc] >>= createProgram_+-- program \<- 'sequenceA' ['createVertexShader' vsSrc,'createFragmentShader' fsSrc] \>\>= createProgram_ -- @ -- -- Once again, that’s pretty straight-forward.