diff options
author | Thomas Dinges <blender@dingto.org> | 2015-02-18 14:05:33 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-02-18 14:05:59 +0300 |
commit | 7f7413bce24ea21cd5e47f307d84d20606ac349c (patch) | |
tree | 1d9aaf1af0c2ab3ff296f226cc358510c13ea7ac | |
parent | 6fe23b60dd2c4e3a63905a2a52d0f6093b8d5dda (diff) |
Cleanup: Use bools in BVHParams class.
-rw-r--r-- | intern/cycles/bvh/bvh_params.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h index 3fa6ebd75af..99bfd9449da 100644 --- a/intern/cycles/bvh/bvh_params.h +++ b/intern/cycles/bvh/bvh_params.h @@ -28,7 +28,7 @@ class BVHParams { public: /* spatial split area threshold */ - int use_spatial_split; + bool use_spatial_split; float spatial_split_alpha; /* SAH costs */ @@ -41,13 +41,13 @@ public: int max_curve_leaf_size; /* object or mesh level bvh */ - int top_level; + bool top_level; /* disk cache */ - int use_cache; + bool use_cache; /* QBVH */ - int use_qbvh; + bool use_qbvh; /* fixed parameters */ enum { |