This class represent a asteroid with a random silohuette
This class represent a asteroid with a random silohuette. It is derived from the Ast Class. The generation of the random silohuette is done in the member function Build, that is called by all the constructors. The random silohuette is stored in a vector<Point3f>.
The position of each new vertex is calculated as follows:
Given two points p1 p2 and the barycenter of poligon cm:
AstFract()
AstFract(const Point3f &_p, const float _angle, const Point3f &_v, float _av, float _size)
void Draw()
void Build(int SplitNum=2)
void Split(list<Point3f> &p)
Alphabetic index HTML hierarchy of classes or Java