Fix compilation issues in testbed application on Windows
This commit is contained in:
parent
9973a4cb00
commit
f3a11914f8
testbed
|
@ -24,6 +24,8 @@
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
// Libraries
|
// Libraries
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#include <cmath>
|
||||||
#include "BoxTowerScene.h"
|
#include "BoxTowerScene.h"
|
||||||
|
|
||||||
// Namespaces
|
// Namespaces
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
// Libraries
|
// Libraries
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#include <cmath>
|
||||||
#include "Scene.h"
|
#include "Scene.h"
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ class TestbedLogger : public reactphysics3d::Logger {
|
||||||
reactphysics3d::DefaultLogger::Formatter* getFormatter(reactphysics3d::DefaultLogger::Format format) const;
|
reactphysics3d::DefaultLogger::Formatter* getFormatter(reactphysics3d::DefaultLogger::Format format) const;
|
||||||
|
|
||||||
/// Add a stream destination to the logger
|
/// Add a stream destination to the logger
|
||||||
void addStreamDestination(std::ostream& outputStream, uint logLevelFlag, reactphysics3d::DefaultLogger::Format format);
|
void addStreamDestination(std::ostream& outputStream, reactphysics3d::uint logLevelFlag, reactphysics3d::DefaultLogger::Format format);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class TestbedLogger : public reactphysics3d::Logger {
|
||||||
~TestbedLogger();
|
~TestbedLogger();
|
||||||
|
|
||||||
/// Add a log file destination to the logger
|
/// Add a log file destination to the logger
|
||||||
void addFileDestination(const std::string& worldName, uint logLevelFlag, reactphysics3d::DefaultLogger::Format format);
|
void addFileDestination(const std::string& worldName, reactphysics3d::uint logLevelFlag, reactphysics3d::DefaultLogger::Format format);
|
||||||
|
|
||||||
|
|
||||||
/// Log something
|
/// Log something
|
||||||
|
|
Loading…
Reference in New Issue
Block a user