compile fixes
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#include <glm/common.hpp>
|
#include <glm/common.hpp>
|
||||||
#include <math/bounding_box.hpp>
|
#include <math/bounding_box.hpp>
|
||||||
|
#include <noggit/Misc.h>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace math
|
|||||||
{
|
{
|
||||||
if (std::isnan(_direction.x) || std::isnan(_direction.y) || std::isnan(_direction.z))
|
if (std::isnan(_direction.x) || std::isnan(_direction.y) || std::isnan(_direction.z))
|
||||||
{
|
{
|
||||||
std::cout << "Vector contains NaN values!" << std::endl;
|
assert(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ namespace Noggit::Ui::Tools
|
|||||||
|
|
||||||
static std::unordered_map <int, std::string> light_names_map;
|
static std::unordered_map <int, std::string> light_names_map;
|
||||||
|
|
||||||
|
class LightEditor;
|
||||||
|
|
||||||
class LightningInfoDialog : public QWidget
|
class LightningInfoDialog : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|||||||
Reference in New Issue
Block a user