Subject: CGAL users discussion list
List archive
- From: França, Mauro Sérgio Lima <>
- To: <>
- Subject: help using gluDisk
- Date: Sat, 3 May 2008 13:45:59 -0300
- Disposition-notification-to: França, Mauro Sérgio Lima <>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Thread-Index:X-MimeOLE:Disposition-Notification-To; b=aGAqV4r7Ffp1l6mmENrX5erlBssv0cc/x1NohYQRWdHcjzd1Y4ftZiKSt5ye9vBz1NHqXk8fPnd5RAbiHrB3fyA4BGHhPiHRLt3rXqALvg7lRGIFDlCtQ8PoO2EgwXavqXmtu7MVCVPZFxVsOKiJlxmhsFMiu0JFRDIn89VtqA0= ;
Title: help using gluDisk
Houston - got a trouble here...
Consider the small thread:
---------------------------------------
glColor3ub(0, 0, 0);
GLUquadricObj* quadricPtr;
quadricPtr = gluNewQuadric();
gluQuadricDrawStyle(quadricPtr, GLU_LINE);
gluQuadricNormals(quadricPtr, GLU_SMOOTH);
gluDisk(quadricPtr,10.0f,15.0f,5,1);
glFlush();
glutSwapBuffers();
---------------------------------------------
It works fine, draws a disk which the point coordinates of the center are (0,0), and that's okay.
Suppose now I need to draw a disk at any position (x,y), how do I implement it?
can you help me on this issue?
Best Cordial Regards,
m.s.l.f
- help using gluDisk, França , Mauro Sérgio Lima, 05/03/2008
- Re: [cgal-discuss] help using gluDisk, Joachim Reichel, 05/03/2008
- Re: [cgal-discuss] help using gluDisk, Bo Schwarzstein, 05/05/2008
Archive powered by MHonArc 2.6.16.