Depth rendering of terrain works

This commit is contained in:
Dynamitos
2023-11-10 19:18:09 +01:00
parent effb0c6214
commit c30619d07d
28 changed files with 298 additions and 502 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#pragma once
#include "SystemBase.h"
#include "Component/Component.h"
#include "Component/Camera.h"
namespace Seele
{
@@ -12,7 +13,7 @@ class ComponentSystem : public SystemBase
public:
ComponentSystem(PScene scene) : SystemBase(scene) {}
virtual ~ComponentSystem() {}
template<is_component Comp>
template<has_dependencies Comp>
auto getDependencies()
{
return Comp::dependencies;