This makes us more sure that header files are more self-sufficient.
CCL_NAMESPACE_END
-#endif /* __BVH_H__ */
-
+#endif /* __BVH4_H__ */
//#define __KERNEL_SSE__
-#include <stdlib.h>
-
#include "bvh/bvh_binning.h"
+#include <stdlib.h>
+
#include "util/util_algorithm.h"
#include "util/util_boundbox.h"
#include "util/util_types.h"
CCL_NAMESPACE_END
-#endif
-
+#endif /* __BVH_BINNING_H__ */
* limitations under the License.
*/
-#include "bvh/bvh_binning.h"
#include "bvh/bvh_build.h"
+
+#include "bvh/bvh_binning.h"
#include "bvh/bvh_node.h"
#include "bvh/bvh_params.h"
#include "bvh_split.h"
#include <float.h>
-#include "bvh/bvh.h"
-#include "bvh/bvh_binning.h"
+#include "bvh/bvh_params.h"
#include "bvh/bvh_unaligned.h"
-#include "util/util_boundbox.h"
#include "util/util_task.h"
#include "util/util_vector.h"
CCL_NAMESPACE_BEGIN
+class Boundbox;
class BVHBuildTask;
+class BVHNode;
class BVHSpatialSplitBuildTask;
class BVHParams;
class InnerNode;
* limitations under the License.
*/
+#include "bvh/bvh_node.h"
+
#include "bvh/bvh.h"
#include "bvh/bvh_build.h"
-#include "bvh/bvh_node.h"
#include "util/util_debug.h"
#include "util/util_vector.h"
#define __BVH_NODE_H__
#include "util/util_boundbox.h"
-#include "util/util_debug.h"
#include "util/util_types.h"
CCL_NAMESPACE_BEGIN
CCL_NAMESPACE_END
#endif /* __BVH_PARAMS_H__ */
-
* limitations under the License.
*/
-#include "bvh/bvh_build.h"
#include "bvh/bvh_sort.h"
+#include "bvh/bvh_build.h"
+
#include "util/util_algorithm.h"
#include "util/util_debug.h"
#include "util/util_task.h"
#ifndef __BVH_SORT_H__
#define __BVH_SORT_H__
+#include <cstddef>
+
CCL_NAMESPACE_BEGIN
+class BVHReference;
class BVHUnaligned;
struct Transform;
CCL_NAMESPACE_END
#endif /* __BVH_SORT_H__ */
-
* limitations under the License.
*/
-#include "bvh/bvh_build.h"
#include "bvh/bvh_split.h"
+
+#include "bvh/bvh_build.h"
#include "bvh/bvh_sort.h"
#include "render/mesh.h"
* limitations under the License.
*/
-
#include "bvh/bvh_unaligned.h"
#include "render/mesh.h"
CCL_NAMESPACE_END
#endif /* __BVH_UNALIGNED_H__ */
-