Skip to content

Commit

Permalink
Remove unused FresnelDielectric from GlassMaterial
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Busch committed Feb 1, 2017
1 parent 4b4bf73 commit d4bb1be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/core/reflection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ std::string FresnelSpecular::ToString() const {
return std::string("[ FresnelSpecular R: ") + R.ToString() +
std::string(" T: ") + T.ToString() +
StringPrintf(" etaA: %f etaB: %f ", etaA, etaB) +
std::string(" fresnel: ") + fresnel.ToString() +
std::string(" mode : ") +
(mode == TransportMode::Radiance ? std::string("RADIANCE")
: std::string("IMPORTANCE")) +
Expand Down
2 changes: 0 additions & 2 deletions src/core/reflection.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ class FresnelSpecular : public BxDF {
T(T),
etaA(etaA),
etaB(etaB),
fresnel(etaA, etaB),
mode(mode) {}
Spectrum f(const Vector3f &wo, const Vector3f &wi) const {
return Spectrum(0.f);
Expand All @@ -372,7 +371,6 @@ class FresnelSpecular : public BxDF {
// FresnelSpecular Private Data
const Spectrum R, T;
const Float etaA, etaB;
const FresnelDielectric fresnel;
const TransportMode mode;
};

Expand Down

0 comments on commit d4bb1be

Please sign in to comment.