aboutsummaryrefslogtreecommitdiff
path: root/source/SceneThings.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 17:03:20 -0700
committerrtk0c <[email protected]>2022-05-30 17:03:20 -0700
commite66286ebe30afc9acc4531fc2bea29b7fb924f93 (patch)
treefa6b76554c3eb88bc8f088fbab68e20c40118ca7 /source/SceneThings.hpp
parent366ef5a5450c6e0e680c924c3454943a9ae9814d (diff)
Changeset: 56 Buildsystem cleanup: change to layered structure for different targets
Diffstat (limited to 'source/SceneThings.hpp')
-rw-r--r--source/SceneThings.hpp46
1 files changed, 0 insertions, 46 deletions
diff --git a/source/SceneThings.hpp b/source/SceneThings.hpp
deleted file mode 100644
index c261fbb..0000000
--- a/source/SceneThings.hpp
+++ /dev/null
@@ -1,46 +0,0 @@
-#pragma once
-
-#include "Color.hpp"
-#include "GameObject.hpp"
-#include "Renderer.hpp"
-
-#include <glm/glm.hpp>
-#include <vector>
-
-class SimpleGeometryObject : public GameObject {
-private:
- RenderObject mRenderObject;
- glm::vec3 mSize;
- RgbaColor mXFaceColor;
- RgbaColor mYFaceColor;
- RgbaColor mZFaceColor;
- mutable bool mNeedsRebuildMesh ;
-
-public:
- SimpleGeometryObject(GameWorld* world);
-
- glm::vec3 GetSize() const { return mSize; }
- void SetSize(glm::vec3 size);
- RgbaColor GetXFaceColor() const { return mXFaceColor; }
- void SetXFaceColor(RgbaColor color);
- RgbaColor GetYFaceColor() const { return mYFaceColor; }
- void SetYFaceColor(RgbaColor color);
- RgbaColor GetZFaceColor() const { return mZFaceColor; }
- void SetZFaceColor(RgbaColor color);
- virtual std::span<const RenderObject> GetRenderObjects() const override;
-};
-
-class BuildingObject : public GameObject {
-private:
- RenderObject mRenderObject;
-
-public:
- BuildingObject(GameWorld* world);
-
- // TODO
- // void SetMeshMaterial(Material* material);
- // virtual const Material* GetMeshMaterial() const override;
- // void SetMesh(GpuMesh* mesh);
- // virtual const GpuMesh* GetMesh() const override;
- virtual std::span<const RenderObject> GetRenderObjects() const override;
-};