Skip to content

Commit

Permalink
Graphics.Rendering.GLU.Raw => Graphics.GLU
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne committed Dec 30, 2015
1 parent a7d75ae commit aadd126
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 43 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2.0.0.0
-------
* Changed module name prefix from `Graphics.Rendering.GLU.Raw` to `Graphics.GLU`.


1.5.0.3
-------
Expand Down
12 changes: 6 additions & 6 deletions GLURaw.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ flag UseNativeWindowsLibraries

library
exposed-modules:
Graphics.Rendering.GLU.Raw
Graphics.Rendering.GLU.Raw.Callbacks
Graphics.Rendering.GLU.Raw.Functions
Graphics.Rendering.GLU.Raw.Tokens
Graphics.Rendering.GLU.Raw.Types
Graphics.GLU
Graphics.GLU.Callbacks
Graphics.GLU.Functions
Graphics.GLU.Tokens
Graphics.GLU.Types
other-modules:
Graphics.Rendering.GLU.Raw.TypesInternal
Graphics.GLU.TypesInternal
c-sources:
cbits/HsGLURaw.c
hs-source-dirs: src
Expand Down
25 changes: 25 additions & 0 deletions src/Graphics/GLU.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.GLU
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
-- Maintainer : Sven Panne <[email protected]>
-- Stability : stable
-- Portability : portable
--
-- A 1:1 binding for the OpenGL utility library.
--
--------------------------------------------------------------------------------

module Graphics.GLU (
module Graphics.GLU.Functions,
module Graphics.GLU.Tokens,
module Graphics.GLU.Types,
module Graphics.GLU.Callbacks
) where

import Graphics.GLU.Functions
import Graphics.GLU.Tokens
import Graphics.GLU.Types
import Graphics.GLU.Callbacks
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.GLU.Raw.Callbacks
-- Module : Graphics.GLU.Callbacks
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
Expand All @@ -13,7 +13,7 @@
--
--------------------------------------------------------------------------------

module Graphics.Rendering.GLU.Raw.Callbacks (
module Graphics.GLU.Callbacks (
-- * Tessellator Callbacks
-- ** Tessellator Callbacks without Polygon Data
TessBeginCallback, makeTessBeginCallback,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.GLU.Raw.Functions
-- Module : Graphics.GLU.Functions
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
Expand All @@ -13,7 +13,7 @@
--
--------------------------------------------------------------------------------

module Graphics.Rendering.GLU.Raw.Functions (
module Graphics.GLU.Functions (
gluBeginCurve,
gluBeginPolygon,
gluBeginSurface,
Expand Down Expand Up @@ -84,7 +84,7 @@ import Foreign.Marshal.Error ( throwIf )
import Foreign.Ptr ( Ptr, FunPtr, nullFunPtr )
import System.IO.Unsafe ( unsafePerformIO )

import Graphics.Rendering.GLU.Raw.Types
import Graphics.GLU.Types
import Graphics.GL.Types

--------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.GLU.Raw.Tokens
-- Module : Graphics.GLU.Tokens
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
Expand All @@ -12,7 +12,7 @@
--
--------------------------------------------------------------------------------

module Graphics.Rendering.GLU.Raw.Tokens where
module Graphics.GLU.Tokens where

import Graphics.GL.Core31

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.GLU.Raw.Types
-- Module : Graphics.GLU.Types
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
Expand All @@ -12,10 +12,10 @@
--
--------------------------------------------------------------------------------

module Graphics.Rendering.GLU.Raw.Types (
module Graphics.GLU.Types (
GLUnurbs,
GLUquadric,
GLUtesselator
) where

import Graphics.Rendering.GLU.Raw.TypesInternal
import Graphics.GLU.TypesInternal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# OPTIONS_HADDOCK hide #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.GLU.Raw.TypesInternal
-- Module : Graphics.GLU.TypesInternal
-- Copyright : (c) Sven Panne 2016
-- License : BSD3
--
Expand All @@ -13,7 +13,7 @@
--
--------------------------------------------------------------------------------

module Graphics.Rendering.GLU.Raw.TypesInternal where
module Graphics.GLU.TypesInternal where

data GLUnurbs = GLUnurbs

Expand Down
25 changes: 0 additions & 25 deletions src/Graphics/Rendering/GLU/Raw.hs

This file was deleted.

0 comments on commit aadd126

Please sign in to comment.