Compare commits
2 Commits
develop
...
32b0cb6ea3
| Author | SHA1 | Date | |
|---|---|---|---|
| 32b0cb6ea3 | |||
| e2c747f1b2 |
@@ -0,0 +1 @@
|
|||||||
|
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}
|
||||||
109
builds/windows-amd64/CMakeCache.txt
Normal file
109
builds/windows-amd64/CMakeCache.txt
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: d:/GitHub/steam-audio-godot/builds/windows-amd64
|
||||||
|
# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe
|
||||||
|
# You can edit this file to change values found and used by cmake.
|
||||||
|
# If you do not want to change any of the values, simply exit the editor.
|
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||||
|
# The syntax for the file is as follows:
|
||||||
|
# KEY:TYPE=VALUE
|
||||||
|
# KEY is the name of a variable in the cache.
|
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||||
|
# VALUE is the current value for the KEY.
|
||||||
|
|
||||||
|
########################
|
||||||
|
# EXTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_BUILD_TYPE:UNINITIALIZED=Debug
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_CXX_COMPILER:UNINITIALIZED=cl.exe
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_C_COMPILER:UNINITIALIZED=cl.exe
|
||||||
|
|
||||||
|
//Value Computed by CMake.
|
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/GitHub/steam-audio-godot/builds/windows-amd64/CMakeFiles/pkgRedirects
|
||||||
|
|
||||||
|
//Program used to build from build.ninja files.
|
||||||
|
CMAKE_MAKE_PROGRAM:FILEPATH=CMAKE_MAKE_PROGRAM-NOTFOUND
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=SteamAudioGodot
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_VERSION:STATIC=0.1.0
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_VERSION_MINOR:STATIC=1
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_VERSION_PATCH:STATIC=0
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
SteamAudioGodot_BINARY_DIR:STATIC=D:/GitHub/steam-audio-godot/builds/windows-amd64
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
SteamAudioGodot_IS_TOP_LEVEL:STATIC=ON
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
SteamAudioGodot_SOURCE_DIR:STATIC=D:/GitHub/steam-audio-godot
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//This is the directory where this CMakeCache.txt was created
|
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=d:/GitHub/steam-audio-godot/builds/windows-amd64
|
||||||
|
//Major version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
|
||||||
|
//Minor version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=0
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe
|
||||||
|
//Path to cache edit program executable.
|
||||||
|
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake-gui.exe
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//Name of generator platform.
|
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||||
|
//Name of generator toolset.
|
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||||
|
//Source directory with the top level CMakeLists.txt file for this
|
||||||
|
// project
|
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=D:/GitHub/steam-audio-godot
|
||||||
|
//Name of CMakeLists files to read
|
||||||
|
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
|
||||||
|
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||||
|
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||||
|
//number of local generators
|
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||||
|
//Platform information initialized
|
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-4.0
|
||||||
|
|
||||||
15
builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake
Normal file
15
builds/windows-amd64/CMakeFiles/4.0.2/CMakeSystem.cmake
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Windows-10.0.26200")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Windows")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "10.0.26200")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Windows-10.0.26200")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Windows")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "10.0.26200")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
||||||
11
builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml
Normal file
11
builds/windows-amd64/CMakeFiles/CMakeConfigureLog.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
---
|
||||||
|
events:
|
||||||
|
-
|
||||||
|
kind: "message-v1"
|
||||||
|
backtrace:
|
||||||
|
- "C:/Program Files/CMake/share/cmake-4.0/Modules/CMakeDetermineSystem.cmake:205 (message)"
|
||||||
|
- "CMakeLists.txt:40 (project)"
|
||||||
|
message: |
|
||||||
|
The system is: Windows - 10.0.26200 - AMD64
|
||||||
|
...
|
||||||
1
builds/windows-amd64/CMakeFiles/cmake.check_cache
Normal file
1
builds/windows-amd64/CMakeFiles/cmake.check_cache
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
@@ -37,16 +37,16 @@ void SteamAudioListener::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SteamAudioListener::update_listener(IPLSimulator iplsim, IPLSimulationSharedInputs iplsiminputs) {
|
void SteamAudioListener::update_listener(IPLSimulator iplSim, IPLSimulationSharedInputs iplSimInputs) {
|
||||||
needs_update=false;
|
needs_update=false;
|
||||||
|
|
||||||
Transform3D transform = get_global_transform();
|
Transform3D transform = get_global_transform();
|
||||||
|
|
||||||
IPLCoordinateSpace3 space = SteamAudio::godot_to_ipl_space(transform);
|
IPLCoordinateSpace3 space = SteamAudio::godot_to_ipl_space(transform);
|
||||||
|
|
||||||
iplsiminputs.listener=space;
|
iplSimInputs.listener=space;
|
||||||
|
|
||||||
iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_DIRECT,&iplsiminputs);
|
iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_DIRECT,&iplSimInputs);
|
||||||
iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_PATHING,&iplsiminputs);
|
iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_PATHING,&iplSimInputs);
|
||||||
iplSimulatorSetSharedInputs(iplsim,IPL_SIMULATIONFLAGS_REFLECTIONS,&iplsiminputs);
|
iplSimulatorSetSharedInputs(iplSim,IPL_SIMULATIONFLAGS_REFLECTIONS,&iplSimInputs);
|
||||||
}
|
}
|
||||||
@@ -12,12 +12,14 @@ using namespace godot;
|
|||||||
class SteamAudioListener:public AudioListener3D
|
class SteamAudioListener:public AudioListener3D
|
||||||
{
|
{
|
||||||
GDCLASS(SteamAudioListener,AudioListener3D)
|
GDCLASS(SteamAudioListener,AudioListener3D)
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool needs_update = false;
|
bool needs_update = false;
|
||||||
Transform3D last_transform;
|
Transform3D last_transform;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool get_needs_update() {
|
bool get_needs_update() {
|
||||||
return needs_update;
|
return needs_update;
|
||||||
@@ -29,7 +31,7 @@ public:
|
|||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
static SteamAudioListener* get_listener();
|
static SteamAudioListener* get_listener();
|
||||||
void update_listener(IPLSimulator iplsim, IPLSimulationSharedInputs iplsiminputs);
|
void update_listener(IPLSimulator iplSim, IPLSimulationSharedInputs iplSimInputs);
|
||||||
void set_listener_position(const Vector3 &p_position);
|
void set_listener_position(const Vector3 &p_position);
|
||||||
void set_listener_orientation(const Vector3 &p_forward, const Vector3 &p_up);
|
void set_listener_orientation(const Vector3 &p_forward, const Vector3 &p_up);
|
||||||
void set_listener_velocity(const Vector3 &p_velocity);
|
void set_listener_velocity(const Vector3 &p_velocity);
|
||||||
|
|||||||
Reference in New Issue
Block a user