6#ifndef _GRAPHICAL_OBJECT_H_
7#define _GRAPHICAL_OBJECT_H_
float Real
the type for representing a real number.
virtual Real rayIntersection(const Ray &ray, Point3 &p)=0
virtual Material getMaterial(Point3 p)=0
virtual ~GraphicalObject()
Virtual destructor since object contains virtual methods.
virtual void init(Viewer &)=0
virtual Vector3 getNormal(Point3 p)=0
virtual void draw(Viewer &)=0
GraphicalObject()
Default constructor. Nothing to do.