   Creating complex geometric shapes
  I''ve been trying to create a perfectly equalaterally pentagon for my computer science class i''m taking its part of my final grade doing a openGL programi''m trying to create a 12 sided 3-demensional pentagon (like a 12 sided dice for people who play games that require them)However i keep setting the points like in the tutorials where you created a pyramid and cube.  But no matter how hard i try i cannot manage to plot the points for a perfectly equalateral pentagon (all sides same length and 72 degree interal angles)I would appriciate any suggestions or even the points to plot for the pentagon itselfuntill i can manage to get one face of the object constructed correctly i cant create the other sides or they would never line upThnx in advance  
  A regular pentagon''s points are 72 degrees apart, so in x/y coords you''d have:(assuming radius of 1 unit, using degrees instead of radians)pt 1: x = cos(0); y = sin(0);pt 2: x = cos(72); y = sin(72);pt 3: x = cos(144); y = sin(144);pt 4: x = cos(216); y = sin(216);pt 5: x = cos(288); y = sin(288);that makes a pentagon "centered" at 0,0.  It''s centered radially, but not really centered if you look at a bounding box.  Anyway, is that what you were asking for?