SharkD <mik### [at] gmailcom> wrote:
> Bill Pragnell wrote:
> > Many of them are very simple, but the larger ones can be quite complex. Each
> > include file contains the vertices in a global array (for the advanced user)
> > and three macros for instantiating the shape; most of the stellar icosahedra
> > includes are 1200+ lines.
> Why are you storing the individual vertices instead of generating them
> using an equation?
Quite simply, because I don't know how! (Well, except the simpler cases like the
I am converting the polyhedra from a library of meshes - someone has already
done the necessary calculations to generate them; I simply want to play with
the shapes and make them available to other users. The meshes are not big, so
there's no advantage to a native SDL polyhedron generator beyond elegance and
the joy of the challenge.
I've been distracted from this by RL recently, but they will make it to the
object library sometime soon, promise!
Post a reply to this message