- Fixed a bunch of compilation errors and warnings
- Added frameworks for retrieving specific filesystem information for a target platform
This commit is contained in:
@@ -271,6 +271,8 @@
|
||||
|
||||
#include <fennec/math/detail/__math.h>
|
||||
|
||||
#include <fennec/lang/limits.h>
|
||||
|
||||
#include <fennec/math/vector.h>
|
||||
|
||||
#if _MSC_VER
|
||||
@@ -462,7 +464,7 @@ constexpr vector<genType, i...> trunc(const vector<genType, i...>& x) {
|
||||
/// \param x input value
|
||||
template<typename genType>
|
||||
constexpr genType roundEven(genType x) {
|
||||
static const genType e = std::numeric_limits<genType>::epsilon();
|
||||
static const genType e = numeric_limits<genType>::epsilon();
|
||||
int I = static_cast<int>(x);
|
||||
genType i = static_cast<genType>(I);
|
||||
genType f = x - i;
|
||||
|
||||
Reference in New Issue
Block a user