Adding Editor executable

This commit is contained in:
Dynamitos
2022-09-24 21:06:25 +02:00
parent d7566c5825
commit 05bc31a2b4
24 changed files with 42 additions and 46 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
add_subdirectory(Editor/)
add_subdirectory(Engine/)
+3
View File
@@ -0,0 +1,3 @@
target_sources(Editor
PRIVATE
main.cpp)
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Asset.h
Asset.cpp
AssetRegistry.h
+2 -3
View File
@@ -1,9 +1,8 @@
target_sources(Engine
PRIVATE
PUBLIC
EngineTypes.h
MinimalEngine.h
MinimalEngine.cpp
main.cpp)
MinimalEngine.cpp)
add_subdirectory(Asset/)
add_subdirectory(Containers/)
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Array.h
Map.h
List.h)
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
GraphicsResources.h
GraphicsResources.cpp
GraphicsInitializer.h
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
BasePass.h
BasePass.cpp
DepthPrepass.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
NsightAftermathGpuCrashTracker.h
NsightAftermathGpuCrashTracker.cpp
NsightAftermathHelpers.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
BRDF.h
BRDF.cpp
MaterialAsset.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Math.h
Matrix.h
Vector.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Actor.cpp
Actor.h
CameraActor.cpp
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Util.h
Scene.cpp
Scene.h)
+2 -3
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
CameraComponent.h
CameraComponent.cpp
Component.h
@@ -9,5 +9,4 @@ target_sources(Engine
MyOtherComponent.h
MyOtherComponent.cpp
PrimitiveComponent.cpp
PrimitiveComponent.h
PrimitiveUniformBufferLayout.h)
PrimitiveComponent.h)
@@ -27,4 +27,10 @@ private:
friend class Scene;
};
DEFINE_REF(PrimitiveComponent)
struct PrimitiveUniformBuffer
{
Matrix4 localToWorld;
Matrix4 worldToLocal;
Vector4 actorWorldPosition;
};
} // namespace Seele
@@ -1,12 +0,0 @@
#pragma once
#include "Graphics/GraphicsResources.h"
namespace Seele
{
struct PrimitiveUniformBuffer
{
Matrix4 localToWorld;
Matrix4 worldToLocal;
Vector4 actorWorldPosition;
};
} // namespace Seele
-1
View File
@@ -1,6 +1,5 @@
#include "Scene.h"
#include "Components/PrimitiveComponent.h"
#include "Components/PrimitiveUniformBufferLayout.h"
#include "Material/MaterialAsset.h"
#include "Graphics/Graphics.h"
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
HorizontalLayout.h
HorizontalLayout.cpp
Layout.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
Button.h
Button.cpp
Element.h
+1 -1
View File
@@ -1,5 +1,5 @@
target_sources(Engine
PRIVATE
PUBLIC
InspectorView.h
InspectorView.cpp
SceneView.h