Define a Cache path on default

Cleanup OpenSpaceEngine
Cleanup RenderEngine
  * ScreenSpaceRenderables are now owned by RenderEngine, rather than being shared_ptr
Cleanup LogFactory
This commit is contained in:
Alexander Bock
2018-04-21 07:00:43 -04:00
parent 8aa4c4fa42
commit 818ee225a5
19 changed files with 325 additions and 394 deletions
+2 -2
View File
@@ -53,13 +53,13 @@ void GuiJoystickComponent::render() {
const JoystickInputStates& states =
OsEng.navigationHandler().inputState().joystickInputStates();
for (int i = 0; i < states.size(); ++i) {
for (size_t i = 0; i < states.size(); ++i) {
const JoystickInputState& state = states[i];
if (!state.isConnected) {
continue;
}
ImGui::Text("%s [%i]", state.name.c_str(), i);
ImGui::Text("%s [%i]", state.name.c_str(), static_cast<int>(i));
ImGui::Text("%s", "Axes");
for (int j = 0; j < state.nAxes; ++j) {
float f = state.axes[j];