compile fixes

This commit is contained in:
T1ti
2024-10-20 01:37:01 +02:00
parent a4c34381da
commit 5bb1ff6cbe
3 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#include <glm/common.hpp>
#include <math/bounding_box.hpp>
#include <noggit/Misc.h>
namespace
{

View File

@@ -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);
}
}

View File

@@ -49,6 +49,8 @@ namespace Noggit::Ui::Tools
static std::unordered_map <int, std::string> light_names_map;
class LightEditor;
class LightningInfoDialog : public QWidget
{
Q_OBJECT