This preview shows page 1. Sign up to view the full content.
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.
- Spring '10
- Computer Graphics