forked from bartvdbraak/blender
Cycles: Avoid possibly uninitialized variable
This commit is contained in:
parent
5ddf6ca87a
commit
e10ec6ee9a
@ -61,7 +61,11 @@ public:
|
||||
int dim;
|
||||
float pos;
|
||||
|
||||
BVHSpatialSplit() : sah(FLT_MAX), dim(0), pos(0.0f) {}
|
||||
BVHSpatialSplit() : sah(FLT_MAX),
|
||||
dim(0),
|
||||
pos(0.0f),
|
||||
storage_(NULL),
|
||||
references_(NULL) {}
|
||||
BVHSpatialSplit(const BVHBuild& builder,
|
||||
BVHSpatialStorage *storage,
|
||||
const BVHRange& range,
|
||||
|
Loading…
Reference in New Issue
Block a user