From e4cdda548a582b626f4a42bb702f166178a083e5 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 11 Apr 2016 16:18:33 +0200 Subject: Cycles: Remove unused SAH from BVH pack --- intern/cycles/bvh/bvh.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'intern/cycles/bvh/bvh.h') diff --git a/intern/cycles/bvh/bvh.h b/intern/cycles/bvh/bvh.h index 4b9f1bae801..6076c25ca31 100644 --- a/intern/cycles/bvh/bvh.h +++ b/intern/cycles/bvh/bvh.h @@ -67,13 +67,9 @@ struct PackedBVH { /* index of the root node. */ int root_index; - /* surface area heuristic, for building top level BVH */ - float SAH; - PackedBVH() { root_index = 0; - SAH = 0.0f; } }; -- cgit v1.2.3