PDA

View Full Version : Perl Drawing of Cylinder



hidtero
10-05-2009, 12:09 AM
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 );