19 virtual bool Hit(
const Ray &r,
HitRecord &rec,
double tMin,
double tMax)
const;
virtual double MatFuzz() const =0
virtual bool Hit(const Ray &r, HitRecord &rec, double tMin, double tMax) const
Definition: sphere.cpp:9
double y() const
Returns second (Y) location parameter in Vector3D.
Definition: vector.h:41
virtual double MatRef() const =0
Vector3D clBound2() const
Definition: sphere.h:33
double z() const
Returns third (Z) location parameter in Vector3D.
Definition: vector.h:42
Material * m_pmCurMat
Pointer to Material that the Sphere should render.
Definition: sphere.h:41
double x() const
Returns first (X) location parameter in Vector3D.
Definition: vector.h:40
virtual int MatType() const =0
Vector3D m_vCenter
Vector3D center of Sphere Object.
Definition: sphere.h:39
Vector3D clCenter() const
Definition: sphere.h:24
Sphere(Vector3D cen, double r, Material *pm)
Definition: sphere.h:18
double clRadius() const
Definition: sphere.h:27
Vector3D clBound1() const
Definition: sphere.h:30
virtual Vector3D MatColor() const =0
int clType() const
Definition: sphere.h:21
virtual cl_double8 CurMat() const
Definition: sphere.h:36
double m_dRadius
Radius of Sphere Object.
Definition: sphere.h:40