Update the code to remove warnings

This commit is contained in:
Yann Esposito (Yogsototh) 2012-05-30 16:49:18 +02:00
parent be4471f0f1
commit ab1ec9ec92
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,6 @@ Here is a real working code, I've hidden most display functions.
The YGL, is a kind of framework to display 3D functions.
But it can easily be extended to many kind of representation.
> import Debug.Trace (trace)
> import YGL -- Most the OpenGL Boilerplate
> import Mandel -- The 3D Mandelbrot maths
@ -198,6 +197,7 @@ Because we consider partial functions
With the color function.
> colorFromValue :: Point -> Color
> colorFromValue n =
> let
> t :: Point -> Scalar

View file

@ -15,6 +15,7 @@ module YGL (
Point
, Time
, Scalar
, Color
, Point3D
, makePoint3D -- helper (x,y,z) -> Point3D
, (-*<) -- scalar product on Point3D