Fixing a boatload of warnings

This commit is contained in:
Stefan Högler
2021-04-01 16:40:14 +02:00
parent f042480540
commit d5f0fe644f
84 changed files with 496 additions and 407 deletions
+4 -4
View File
@@ -4,9 +4,9 @@
namespace Seele
{
DECLARE_REF(Actor);
DECLARE_REF(Component);
DECLARE_REF(Scene);
DECLARE_REF(Actor)
DECLARE_REF(Component)
DECLARE_REF(Scene)
class Actor
{
public:
@@ -48,5 +48,5 @@ protected:
Array<PActor> children;
PComponent rootComponent;
};
DEFINE_REF(Actor);
DEFINE_REF(Actor)
} // namespace Seele
+1 -1
View File
@@ -17,5 +17,5 @@ private:
PCameraComponent cameraComponent;
PComponent sceneComponent; // This will be the root, camera will be the child
};
DEFINE_REF(CameraActor);
DEFINE_REF(CameraActor)
} // namespace Seele
@@ -56,5 +56,5 @@ private:
Matrix4 viewMatrix;
Matrix4 projectionMatrix;
};
DEFINE_REF(CameraComponent);
DEFINE_REF(CameraComponent)
} // namespace Seele
+3 -3
View File
@@ -4,9 +4,9 @@
namespace Seele
{
DECLARE_REF(Actor);
DECLARE_REF(Scene);
DECLARE_REF(Component);
DECLARE_REF(Actor)
DECLARE_REF(Scene)
DECLARE_REF(Component)
class Component
{
public:
@@ -7,7 +7,7 @@
namespace Seele
{
DECLARE_REF(MeshAsset);
DECLARE_REF(MeshAsset)
class PrimitiveComponent : public Component
{
public:
@@ -23,5 +23,5 @@ private:
Gfx::PUniformBuffer uniformBuffer;
friend class Scene;
};
DEFINE_REF(PrimitiveComponent);
DEFINE_REF(PrimitiveComponent)
} // namespace Seele
+1 -1
View File
@@ -8,7 +8,7 @@
namespace Seele
{
DECLARE_REF(Material);
DECLARE_REF(Material)
struct DirectionalLight
{