瀏覽代碼

Shut up the compiler

Daniele Bartolini 12 年之前
父節點
當前提交
4135a44b03
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/math/Intersection.h

+ 1 - 1
src/core/math/Intersection.h

@@ -157,7 +157,7 @@ inline bool Intersection::TestRaySphere(const Ray& r, const Sphere& s, real& dis
 }
 
 //-----------------------------------------------------------------------------
-inline bool Intersection::TestRayBox(const Ray& r, const Box& b, real& distance, Vec3& /*intersectionPoint*/)
+inline bool Intersection::TestRayBox(const Ray& r, const Box& b, real& /*distance*/, Vec3& /*intersectionPoint*/)
 {
 	if (r.origin.x < b.min.x)
 	{