Fixing a boatload of warnings
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
DECLARE_REF(Material);
|
||||
DECLARE_REF(Material)
|
||||
|
||||
struct DirectionalLight
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user