diff options
Diffstat (limited to 'graytrace.cpp')
-rw-r--r-- | graytrace.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graytrace.cpp b/graytrace.cpp index b74d387..c09a202 100644 --- a/graytrace.cpp +++ b/graytrace.cpp @@ -123,7 +123,8 @@ public: class Primitive{ public: - bool isLight=false; + bool isLight; + Primitive(void):isLight(false){} virtual ~Primitive(void){} /* A line is represented by the formula: X = P + D * t |