Re: correction: Re: vector/vertex specification stuff
"Marc Ziegert" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <012001c2b71d$06257d50$0300a8c0@coeus> |
Hey, Marc. *confused* Why did I/you do that ?!? : > %fun glVertex1s :: GLshort -> IO () > %fun glVertex2s :: GLshort -> GLshort -> IO () > %fun glVertex3s :: GLshort -> GLshort -> GLshort -> IO () > %fun glVertex4s :: GLshort -> GLshort -> GLshort -> GLshort -> IO () ... > glVertex1 :: GLShort -> IO () > glVertex2 :: GLShort -> GLShort -> IO () > glVertex3 :: GLShort -> GLShort -> GLShort -> IO () > glVertex4 :: GLShort -> GLShort -> GLShort -> GLShort -> IO () > > glVertex1 x = glVertex $ vector1 x > glVertex2 x y = glVertex $ vector2 x y > glVertex3 x y z = glVertex $ vector3 x y z > glVertex4 x y z w = glVertex $ vector4 x y z w - Marc