[Bf-blender-cvs] [87203b7] cycles_bvh: Cycles BVH: Use proper forward eclaration of Transform
Sergey Sharybin
noreply at git.blender.org
Wed Jul 6 12:50:08 CEST 2016
Commit: 87203b7c4b1416976c1d6b7a3b4f1710ca6c7572
Author: Sergey Sharybin
Date: Wed Jul 6 11:53:45 2016 +0200
Branches: cycles_bvh
https://developer.blender.org/rB87203b7c4b1416976c1d6b7a3b4f1710ca6c7572
Cycles BVH: Use proper forward eclaration of Transform
Spotted by Brecht, thanks!
===================================================================
M intern/cycles/bvh/bvh_sort.h
M intern/cycles/bvh/bvh_split.h
M intern/cycles/bvh/bvh_unaligned.h
===================================================================
diff --git a/intern/cycles/bvh/bvh_sort.h b/intern/cycles/bvh/bvh_sort.h
index 0d24b61..b49ca02 100644
--- a/intern/cycles/bvh/bvh_sort.h
+++ b/intern/cycles/bvh/bvh_sort.h
@@ -21,7 +21,7 @@
CCL_NAMESPACE_BEGIN
class BVHUnaligned;
-class Transform;
+struct Transform;
void bvh_reference_sort(int start,
int end,
diff --git a/intern/cycles/bvh/bvh_split.h b/intern/cycles/bvh/bvh_split.h
index ba1eef6..dbdb51f 100644
--- a/intern/cycles/bvh/bvh_split.h
+++ b/intern/cycles/bvh/bvh_split.h
@@ -24,7 +24,7 @@
CCL_NAMESPACE_BEGIN
class BVHBuild;
-class Transform;
+struct Transform;
/* Object Split */
diff --git a/intern/cycles/bvh/bvh_unaligned.h b/intern/cycles/bvh/bvh_unaligned.h
index 9e568e6..4d0872f 100644
--- a/intern/cycles/bvh/bvh_unaligned.h
+++ b/intern/cycles/bvh/bvh_unaligned.h
@@ -25,7 +25,7 @@ class BoundBox;
class BVHObjectBinning;
class BVHRange;
class BVHReference;
-class Transform;
+struct Transform;
class Object;
/* Helper class to perform calculations needed for unaligned nodes. */
More information about the Bf-blender-cvs
mailing list