next up previous contents
Next: Metode Up: A.6 Sphere Previous: A.6 Sphere Vsebina: contents

Definicija

class Sphere : public Primitive
{
protected:
double radius;

public:
Sphere(double origin[3], double radius, double color[3],
double prop[5]);
virtual double nearestIntersection( vec3& rayDir) const;
virtual vec3& p) const;
virtual void Describe(int indent);
};



Copyright © 1995 Leon Kos, Univerza v Ljubljani