// Author : Josh Grant
// Course : CIS5900, Computer Graphics, Fall 2000
// Assignment : hw10
// Date : November 14th, 2000
// Description : Class used to keep track of the center, radius, and color of
// a sphere.
#ifndef _SPHERE_H
#define _SPHERE_H
#include <iostream.h>
#include <vector.h>
#define DEFAULT_RED 0.7
#define DEFAULT_GREEN 0.7
#define DEFAULT_BLUE 0.7
class Sphere {
public:
Sphere ();
Sphere (double r, Vector cent);
Sphere (double r, Vector cent, Vector col);
Vector getCenter ();
Vector getColor ();
double getRadius ();
private:
double radius;
Vector center;
Vector color;
};
#endif