From baf40143b286acbccce93f2c9ca735db1fe1f5fd Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 9 Aug 2014 10:08:29 -0700 Subject: [PATCH] DoIntersect is an abstract method --- src/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object.h b/src/object.h index c0d8071..1fcb2d8 100644 --- a/src/object.h +++ b/src/object.h @@ -59,7 +59,7 @@ struct Object virtual void Write(std::ostream& ost) const; protected: - virtual bool DoIntersect(const basics::Ray& ray, TVector& t, Stats& stats) const; + virtual bool DoIntersect(const basics::Ray& ray, TVector& t, Stats& stats) const = 0; private: basics::Ray ToObjectSpace(const basics::Ray& ray) const;