Skip to content

Commit

Permalink
Add virtual destructor to BSSRDF class.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Oct 31, 2017
1 parent ad5687d commit fab7348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/bssrdf.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class BSSRDF {
public:
// BSSRDF Public Methods
BSSRDF(const SurfaceInteraction &po, Float eta) : po(po), eta(eta) {}
virtual ~BSSRDF() {}

// BSSRDF Interface
virtual Spectrum S(const SurfaceInteraction &pi, const Vector3f &wi) = 0;
Expand Down

0 comments on commit fab7348

Please sign in to comment.