Skip to content

Commit

Permalink
MaterialProperty: fix a non virtual destructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddejean committed Mar 12, 2013
1 parent 36001b3 commit 6d1c708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Materials/MaterialProperty.h
Expand Up @@ -14,6 +14,7 @@ class MaterialProperty {

public:
MaterialProperty(double r, double g, double b): red(r), green(g), blue(b) {};
virtual ~MaterialProperty(){};

/*
* Apply light contribution from material, light and view ray to
Expand Down

0 comments on commit 6d1c708

Please sign in to comment.