Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] help using gluDisk

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] help using gluDisk


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] help using gluDisk
  • Date: Sat, 03 May 2008 19:02:11 +0200

Hi,

> 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?

Use glTranslate{d,f}(). You might want to have a look at a OpenGL tutorial to
understand the different transformation matrices. BTW your question is not
CGAL-related und should better be sent to an OpenGL-related mailing list.

Regards,
Joachim





Archive powered by MHonArc 2.6.16.

Top of Page