PDA

View Full Version : Perl Drawing of Cylinder



hidtero
10-04-2009, 11:09 PM
Hi,I had faced some problem drawing cylinder using perl the latest version. could anyone guide me? thanks!

my $quadratic;
$quadratic = gluNewQuadric ();
#gluQuadricNormals ( $quadratic, &GLU_SMOOTH );
gluQuadricTexture ( $quadratic, &GL_TRUE );
gluCylinder ( $quadratic, 1.0, 0.0, 3.0, 32, 32 );