mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-08 12:19:07 +00:00
Merge branch 'master' of https://github.com/AxioDL/urde
This commit is contained in:
commit
909f0c015d
@ -2,6 +2,7 @@
|
|||||||
#define _DNACOMMON_ANIMBITSTREAM_HPP_
|
#define _DNACOMMON_ANIMBITSTREAM_HPP_
|
||||||
|
|
||||||
#include "DNACommon.hpp"
|
#include "DNACommon.hpp"
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
namespace DataSpec
|
namespace DataSpec
|
||||||
{
|
{
|
||||||
@ -42,7 +43,7 @@ struct QuantizedValue
|
|||||||
atInt32 delta = std::abs(v[idx] - other.v[idx]);
|
atInt32 delta = std::abs(v[idx] - other.v[idx]);
|
||||||
if (delta == 0)
|
if (delta == 0)
|
||||||
return 1;
|
return 1;
|
||||||
return int(ceilf(log2f(delta))) + 1;
|
return int(std::ceil(std::log2(delta))) + 1;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
struct QuantizedRot
|
struct QuantizedRot
|
||||||
|
@ -60,7 +60,9 @@ struct Application : boo::IApplicationCallback
|
|||||||
void initialize(boo::IApplication* /*app*/)
|
void initialize(boo::IApplication* /*app*/)
|
||||||
{
|
{
|
||||||
zeus::detectCPU();
|
zeus::detectCPU();
|
||||||
|
#ifndef WIN32 /* Console issue with Win32 */
|
||||||
hecl::VerbosityLevel = 1;
|
hecl::VerbosityLevel = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
const zeus::CPUInfo& cpuInf = zeus::cpuFeatures();
|
const zeus::CPUInfo& cpuInf = zeus::cpuFeatures();
|
||||||
Log.report(logvisor::Info, "CPU Name: %s", cpuInf.cpuBrand);
|
Log.report(logvisor::Info, "CPU Name: %s", cpuInf.cpuBrand);
|
||||||
|
@ -20,7 +20,7 @@ Everything else is much too experimental to make portable/stable release builds
|
|||||||
* [Python 3+](https://python.org)
|
* [Python 3+](https://python.org)
|
||||||
* LLVM development package *(headers and libs)*
|
* LLVM development package *(headers and libs)*
|
||||||
* [Specialized Windows Package](https://www.dropbox.com/s/vnxyzltd04xpikr/LLVM-3.9.0-win64-athena.exe?dl=1)
|
* [Specialized Windows Package](https://www.dropbox.com/s/vnxyzltd04xpikr/LLVM-3.9.0-win64-athena.exe?dl=1)
|
||||||
* [OS X Package](http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-apple-darwin.tar.xz)
|
* [OS X Package](http://llvm.org/releases/3.9.0/clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz)
|
||||||
* **[Windows]** [Visual Studio 2015 and Windows SDK](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx)
|
* **[Windows]** [Visual Studio 2015 and Windows SDK](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx)
|
||||||
* **[OS X]** [Xcode Tools](https://developer.apple.com/xcode/download/)
|
* **[OS X]** [Xcode Tools](https://developer.apple.com/xcode/download/)
|
||||||
* **[Linux]** recent development packages of `udev`, `x11`, `xcb`, `xinput`, `glx`, `asound`
|
* **[Linux]** recent development packages of `udev`, `x11`, `xcb`, `xinput`, `glx`, `asound`
|
||||||
|
2
amuse
2
amuse
@ -1 +1 @@
|
|||||||
Subproject commit bfe6668d0c2d9aa075db516bf645b3ea529fdd5b
|
Subproject commit 2521f37408371869a21601ec59b423ea31fea9a8
|
2
hecl
2
hecl
@ -1 +1 @@
|
|||||||
Subproject commit bb374c97f4a22694ce3bb75d306a767a08ae75b4
|
Subproject commit 39c85a807fd8a30e22078447ef4d4668b39a2c8f
|
Loading…
x
Reference in New Issue
Block a user