summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-03-03 22:51:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-26 15:49:38 +0100
commit9e08742de81b062c30b7984900a55d5150a4bd17 (patch)
tree6570bbc8bdcc17e0538d0361156f041b24c2614d /scene/3d
parentf8a79a97c7d12da43b111a756f09ee7ad5ea28e9 (diff)
Added a Window node, and made it the scene root.
Still a lot of work to do.
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/audio_stream_player_3d.cpp2
-rw-r--r--scene/3d/camera.h2
-rw-r--r--scene/3d/listener.h2
-rw-r--r--scene/3d/spatial.cpp2
-rw-r--r--scene/3d/world_environment.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/scene/3d/audio_stream_player_3d.cpp b/scene/3d/audio_stream_player_3d.cpp
index f0a61a905c..f3020d4044 100644
--- a/scene/3d/audio_stream_player_3d.cpp
+++ b/scene/3d/audio_stream_player_3d.cpp
@@ -33,7 +33,7 @@
#include "scene/3d/area.h"
#include "scene/3d/camera.h"
#include "scene/3d/listener.h"
-#include "scene/main/viewport.h"
+#include "scene/main/window.h"
// Based on "A Novel Multichannel Panning Method for Standard and Arbitrary Loudspeaker Configurations" by Ramy Sadek and Chris Kyriakakis (2004)
// Speaker-Placement Correction Amplitude Panning (SPCAP)
diff --git a/scene/3d/camera.h b/scene/3d/camera.h
index 6ac3ece798..feb7b39b1e 100644
--- a/scene/3d/camera.h
+++ b/scene/3d/camera.h
@@ -33,7 +33,7 @@
#include "scene/3d/spatial.h"
#include "scene/3d/spatial_velocity_tracker.h"
-#include "scene/main/viewport.h"
+#include "scene/main/window.h"
#include "scene/resources/environment.h"
class Camera : public Spatial {
diff --git a/scene/3d/listener.h b/scene/3d/listener.h
index 287e67f31e..17ff1d9397 100644
--- a/scene/3d/listener.h
+++ b/scene/3d/listener.h
@@ -32,7 +32,7 @@
#define LISTENER_H
#include "scene/3d/spatial.h"
-#include "scene/main/viewport.h"
+#include "scene/main/window.h"
class Listener : public Spatial {
diff --git a/scene/3d/spatial.cpp b/scene/3d/spatial.cpp
index f1911348ce..c6225dd291 100644
--- a/scene/3d/spatial.cpp
+++ b/scene/3d/spatial.cpp
@@ -33,7 +33,7 @@
#include "core/engine.h"
#include "core/message_queue.h"
#include "scene/main/scene_tree.h"
-#include "scene/main/viewport.h"
+#include "scene/main/window.h"
#include "scene/scene_string_names.h"
/*
diff --git a/scene/3d/world_environment.cpp b/scene/3d/world_environment.cpp
index 83a7243906..9276432ba9 100644
--- a/scene/3d/world_environment.cpp
+++ b/scene/3d/world_environment.cpp
@@ -29,7 +29,7 @@
/*************************************************************************/
#include "world_environment.h"
-#include "scene/main/viewport.h"
+#include "scene/main/window.h"
void WorldEnvironment::_notification(int p_what) {