This commit is contained in:
Phillip Stephens 2016-09-11 11:41:16 -07:00
commit 909f0c015d
5 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -60,7 +60,9 @@ struct Application : boo::IApplicationCallback
void initialize(boo::IApplication* /*app*/)
{
zeus::detectCPU();
#ifndef WIN32 /* Console issue with Win32 */
hecl::VerbosityLevel = 1;
#endif
const zeus::CPUInfo& cpuInf = zeus::cpuFeatures();
Log.report(logvisor::Info, "CPU Name: %s", cpuInf.cpuBrand);

View File

@ -20,7 +20,7 @@ Everything else is much too experimental to make portable/stable release builds
* [Python 3+](https://python.org)
* LLVM development package *(headers and libs)*
* [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)
* **[OS X]** [Xcode Tools](https://developer.apple.com/xcode/download/)
* **[Linux]** recent development packages of `udev`, `x11`, `xcb`, `xinput`, `glx`, `asound`
@ -42,7 +42,7 @@ cmake -DCMAKE_BUILD_TYPE=Debug ../urde
make
```
#### Qt Creator
#### Qt Creator
*(main development / debugging IDE)*
Open the repository's `CMakeLists.txt` via File > Open File or Project.

2
amuse

@ -1 +1 @@
Subproject commit bfe6668d0c2d9aa075db516bf645b3ea529fdd5b
Subproject commit 2521f37408371869a21601ec59b423ea31fea9a8

2
hecl

@ -1 +1 @@
Subproject commit bb374c97f4a22694ce3bb75d306a767a08ae75b4
Subproject commit 39c85a807fd8a30e22078447ef4d4668b39a2c8f