class Polygon : public Primitive
{
protected:
vec3 *vList; // seznam vozlisc mnogokotnika
int vertexN; // stevilo vozlisc
public:
Polygon(Vec *vList, int vertices, double color[3],
double prop[5]);
~ Polygon();
virtual double nearestIntersection( vec3& rayDir) const;
virtual vec3& p) const;
virtual void Describe(int indent);
};