update headers
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include <math/mat4.h>
|
||||
#include <math/TVecHelpers.h>
|
||||
|
||||
#include <utils/compiler.h>
|
||||
|
||||
namespace filament::gltfio {
|
||||
|
||||
template <typename T>
|
||||
@@ -79,7 +81,7 @@ UTILS_PUBLIC inline void decomposeMatrix(const filament::math::mat4f& mat, filam
|
||||
*rotation = clone.toQuaternion();
|
||||
} else {
|
||||
// Set to identity if close to zero
|
||||
*rotation = quatf(1);
|
||||
*rotation = quatf(1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user