From 18d2b95d8d6387ca412000975e8cc28cc296925d Mon Sep 17 00:00:00 2001 From: Wentao Liu Date: Wed, 8 Nov 2023 15:09:00 +0800 Subject: [PATCH] remove redundant function declaration: SameHemisphere() has been declared twice --- src/pbrt/util/vecmath.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pbrt/util/vecmath.h b/src/pbrt/util/vecmath.h index 60f691dbc..4bc323f53 100644 --- a/src/pbrt/util/vecmath.h +++ b/src/pbrt/util/vecmath.h @@ -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: