Fix build on ubuntu
parent
26353d530a
commit
2d841fb58b
|
@ -283,7 +283,7 @@ bool Builder::validateNormal(const QVector3D &normal)
|
|||
if (normal.isNull()) {
|
||||
return false;
|
||||
}
|
||||
if (isnan(normal.x()) || isnan(normal.y()) || isnan(normal.z())) {
|
||||
if (std::isnan(normal.x()) || std::isnan(normal.y()) || std::isnan(normal.z())) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <unordered_set>
|
||||
#include <set>
|
||||
#include <queue>
|
||||
#include <cmath>
|
||||
#include <simpleuv/uvunwrapper.h>
|
||||
#include <simpleuv/parametrize.h>
|
||||
#include <simpleuv/chartpacker.h>
|
||||
|
|
Loading…
Reference in New Issue