Skip to content

Commit

Permalink
remove redundant function declaration: SameHemisphere() has been decl…
Browse files Browse the repository at this point in the history
…ared twice
  • Loading branch information
w3ntao committed Nov 8, 2023
1 parent 2b5837a commit 18d2b95
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/pbrt/util/vecmath.h
Original file line number Diff line number Diff line change
Expand Up @@ -1724,11 +1724,6 @@ PBRT_CPU_GPU inline bool SameHemisphere(Vector3f w, Vector3f wp) {
return w.z * wp.z > 0;
}

PBRT_CPU_GPU
inline bool SameHemisphere(Vector3f w, Normal3f wp) {
return w.z * wp.z > 0;
}

// OctahedralVector Definition
class OctahedralVector {
public:
Expand Down

0 comments on commit 18d2b95

Please sign in to comment.