-- convert a Pixel to a type OpenGL can display
pixelRep :: C.Color -> Color3 GLfloat
pixelRep (C.Color r g b a) = Color3 (realToFrac r) (realToFrac g) (realToFrac b)
pixelRep :: C.Color -> Color3 GLfloat
pixelRep (C.Color r g b a) = Color3 (realToFrac r) (realToFrac g) (realToFrac b)
pixelRep (C.Color r g b a) = Color3 (realToFrac r) (realToFrac g) (realToFrac b)