diff options
Diffstat (limited to 'src/Graphics/Formats/Collada/ColladaTypes.hs')
-rw-r--r-- | src/Graphics/Formats/Collada/ColladaTypes.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Graphics/Formats/Collada/ColladaTypes.hs b/src/Graphics/Formats/Collada/ColladaTypes.hs index ad78aa8..89ebde8 100644 --- a/src/Graphics/Formats/Collada/ColladaTypes.hs +++ b/src/Graphics/Formats/Collada/ColladaTypes.hs | |||
@@ -25,6 +25,7 @@ module Graphics.Formats.Collada.ColladaTypes | |||
25 | Profile(..), NewParam(..), TechniqueCommon(..), Material, Effect, | 25 | Profile(..), NewParam(..), TechniqueCommon(..), Material, Effect, |
26 | C(..), Color(..), | 26 | C(..), Color(..), |
27 | Animation(..), | 27 | Animation(..), |
28 | TextureObject(..), | ||
28 | Fx_common_color_type(..), Fx_common_texture_type(..), Texture(..), | 29 | Fx_common_color_type(..), Fx_common_texture_type(..), Texture(..), |
29 | Interpolation(..), | 30 | Interpolation(..), |
30 | ) | 31 | ) |
@@ -32,9 +33,13 @@ where | |||
32 | 33 | ||
33 | import Data.Tree | 34 | import Data.Tree |
34 | import Data.Vector | 35 | import Data.Vector |
35 | import Graphics.Rendering.OpenGL (TextureObject) | 36 | import Data.Word |
36 | import Graphics.Formats.Collada.Vector2D3D (V3(..), V4(..)) | 37 | import Graphics.Formats.Collada.Vector2D3D (V3(..), V4(..)) |
37 | 38 | ||
39 | -- Coercible to Graphics.Rendering.OpenGL.TextureObject | ||
40 | newtype TextureObject = TextureObject { textureID :: Word32 } | ||
41 | deriving ( Eq, Ord, Show ) | ||
42 | |||
38 | type Mat44 = ((Float,Float,Float,Float), | 43 | type Mat44 = ((Float,Float,Float,Float), |
39 | (Float,Float,Float,Float), | 44 | (Float,Float,Float,Float), |
40 | (Float,Float,Float,Float), | 45 | (Float,Float,Float,Float), |