Fixed uninitialized normal

This commit is contained in:
Jan Möbius
2019-01-15 11:13:37 +01:00
parent dfcb0ce949
commit f68f9575ff
2 changed files with 141 additions and 141 deletions

View File

@@ -96,7 +96,7 @@ class VHierarchyNode
{
public:
VHierarchyNode() :radius_(0.0f), sin_square_(0.0f),mue_square_(0.0f), sigma_square_(0.0f) { }
VHierarchyNode() :radius_(0.0f), normal_(0.0f), sin_square_(0.0f),mue_square_(0.0f), sigma_square_(0.0f) { }
/// Returns true, if node is root else false.
bool is_root() const