Add texture to Sphere object

er9999 <[email protected]> Fri, 11 Mar 2011 17:31:18 +0800 (CST)
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hello,
    How can I add a texture to the sphere object? In c++,  I only need to do
  quadratic=gluNewQuadric();				
	gluQuadricNormals(quadratic, GLU_SMOOTH);
	gluQuadricTexture(quadratic, GL_TRUE);	
Then I can bind a texture to the sphere, can we do that in HOpenGL? If so, can anyone give me an example for that? I am new for  
Haskell and not sure how to convert to Haskell version. Thanks!

_______________________________________________
HOpenGL mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hopengl