Plane - clone(void) const; c Plane& // assignment...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef __PLANE__ #define __PLANE__ # #include "GeometricObject.h" # //-------------------------------------------------------------------- class Plane / class Plane: public GeometricObject { c public: p Plane(void); // default constructor / Plane(const Point3D& point, const Normal& normal); // constructor c Plane(const Plane& plane); // copy constructor / virtual GeometricObject* // virtual copy constructor
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: clone(void) const; c Plane& // assignment operator operator= (const Plane& rhs); o virtual // destructor ~Plane(void); ~ virtual bool hit(const Ray& ray, double& tmin, ShadeRec& sr) const; h private: p Point3D a; // point through which plane passes Normal n; // normal to the plane / static const double kEpsilon; // for shadows and secondary rays }; } #endif...
View Full Document

This note was uploaded on 02/19/2010 for the course CS 390 taught by Professor Hu during the Spring '10 term at Westminster UT.

Ask a homework question - tutors are online