Ajout de Jolt Physics + 1ere version des factory entitecomposants - camera, transform, rigidbody, collider, renderer

This commit is contained in:
Tom Ray
2026-03-22 00:28:03 +01:00
parent 6695d46bcd
commit 48348936a8
1147 changed files with 214331 additions and 353 deletions
+6 -4
View File
@@ -5,7 +5,7 @@
#include "../Utils/CSerializable.hpp"
#include <string>
#include <vulkan/vulkan_raii.hpp>
#include "../Physics/CTangibleWorld.hpp"
namespace CosmicCore {
class CEntity;
class CScene : public CSerializable {
@@ -13,15 +13,16 @@ namespace CosmicCore {
// The name of the scene.
std::string m_name;
EntityComponentManager m_ecManager;
CTangibleWorld m_tangibleWorld;
public:
CScene() = delete;
CScene(std::string name);
virtual ~CScene() = default;
virtual ~CScene();
unsigned int getNumEntity() const;
CEntity addEntity(std::string name, std::string description);
CEntity createEntity();
std::string getName() const;
@@ -29,6 +30,7 @@ namespace CosmicCore {
void removeEntity(unsigned int index, bool destroy = true);
CTangibleWorld& getTangibleWorld() {return m_tangibleWorld;};
//CEntity* getActiveCamera();
//void setActiveCamera(CEntity* newCamera);