mirror of https://github.com/AxioDL/metaforce.git
cmath include; update hecl
This commit is contained in:
parent
bfbdf645d5
commit
2a2b248aa2
|
@ -2,6 +2,7 @@
|
|||
#define _DNACOMMON_ANIMBITSTREAM_HPP_
|
||||
|
||||
#include "DNACommon.hpp"
|
||||
#include <cmath>
|
||||
|
||||
namespace DataSpec
|
||||
{
|
||||
|
@ -42,7 +43,7 @@ struct QuantizedValue
|
|||
atInt32 delta = std::abs(v[idx] - other.v[idx]);
|
||||
if (delta == 0)
|
||||
return 1;
|
||||
return int(ceilf(log2f(delta))) + 1;
|
||||
return int(std::ceil(std::log2(delta))) + 1;
|
||||
}
|
||||
};
|
||||
struct QuantizedRot
|
||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit d81b9aecf540e6edfcbf15bc222c0a0befb36580
|
||||
Subproject commit 39c85a807fd8a30e22078447ef4d4668b39a2c8f
|
Loading…
Reference in New Issue