mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
msvc build fix
This commit is contained in:
parent
eed6d4a438
commit
1addf869ec
4 changed files with 6 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <string>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
|
||||
#include "gui/controls.h"
|
||||
#include "../audio/audio.h"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
#include "PlayerController.h"
|
||||
|
||||
#include "../objects/Player.h"
|
||||
|
|
@ -20,9 +23,6 @@
|
|||
|
||||
#include "../core_defs.h"
|
||||
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <cmath>
|
||||
|
||||
const float CAM_SHAKE_OFFSET = 0.025f;
|
||||
const float CAM_SHAKE_OFFSET_Y = 0.031f;
|
||||
const float CAM_SHAKE_SPEED = 1.75f;
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ inline audio::speakerid_t play_stream(
|
|||
if (channel == -1)
|
||||
return 0;
|
||||
auto paths = scripting::engine->getResPaths();
|
||||
fs::path file = paths->find(fs::path(filename));
|
||||
fs::path file = paths->find(filename);
|
||||
return audio::play_stream(
|
||||
file,
|
||||
glm::vec3(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue