Working on worlds.
It's currently crashing.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
class Sphere : public Shape
|
||||
{
|
||||
public:
|
||||
Sphere() : Shape(SHAPE_SPHERE) { };
|
||||
/* All sphere are at (0, 0, 0) and radius 1 in the object space */
|
||||
virtual Intersect intersect(Ray r);
|
||||
virtual Tuple normalAt(Tuple point);
|
||||
|
||||
Reference in New Issue
Block a user