|
@@ -16,7 +16,7 @@
|
|
class Sphere : public Object
|
|
class Sphere : public Object
|
|
{
|
|
{
|
|
public:
|
|
public:
|
|
- /* All sphere are at (0, 0, 0) and radius 1*/
|
|
|
|
|
|
+ /* All sphere are at (0, 0, 0) and radius 1 in the object space */
|
|
virtual Intersect intersect(Ray r);
|
|
virtual Intersect intersect(Ray r);
|
|
};
|
|
};
|
|
|
|
|