diff --git a/src/math/bounding_box.cpp b/src/math/bounding_box.cpp index 41cae906..650b434a 100755 --- a/src/math/bounding_box.cpp +++ b/src/math/bounding_box.cpp @@ -2,6 +2,7 @@ #include #include +#include namespace { diff --git a/src/math/ray.hpp b/src/math/ray.hpp index 36c14328..25f22f1b 100755 --- a/src/math/ray.hpp +++ b/src/math/ray.hpp @@ -13,7 +13,7 @@ namespace math { if (std::isnan(_direction.x) || std::isnan(_direction.y) || std::isnan(_direction.z)) { - std::cout << "Vector contains NaN values!" << std::endl; + assert(false); } } diff --git a/src/noggit/ui/tools/LightEditor/LightEditor.hpp b/src/noggit/ui/tools/LightEditor/LightEditor.hpp index d3878149..b2e745e9 100755 --- a/src/noggit/ui/tools/LightEditor/LightEditor.hpp +++ b/src/noggit/ui/tools/LightEditor/LightEditor.hpp @@ -49,6 +49,8 @@ namespace Noggit::Ui::Tools static std::unordered_map light_names_map; + class LightEditor; + class LightningInfoDialog : public QWidget { Q_OBJECT