Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » al_draw_Prim

This thread is locked; no one can reply to it. rss feed Print
al_draw_Prim
Ariesnl
Member #2,902
November 2002
avatar

I want to do a fast circle approximation

Does anyone know an algorithm to approximate a circle with say about 8 triangles.
I have to use a triangle list a fan will be too slow in the end.

Drawing with al_draw_prim !

Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard)
Current project: [Star Trek Project ] Join if you want ;-)

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

DanielH
Member #934
January 2001
avatar

Wouldn't a fan be faster as the next triangle already uses 2 side of the previous, which is already calculated.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Go to: