Rework API graphique Vulkan - EnTT pour ECS + Chargement modèle 3D assimp + SDL3 pour events input et fenetre + mesh texture camera transform ok + attention tous les assets nouveaus ne sont pas commités et il y a du code test en dur dans scene addentity + restructuration globale
This commit is contained in:
@@ -27,12 +27,12 @@ TEST_CASE("Entity component manager", "[ECManager]") {
|
||||
//scene.addEntity(entity2);
|
||||
//REQUIRE(!scene.getEntity(0).expired());
|
||||
|
||||
CosmicCore::CEntityComponentManager eM;
|
||||
/*CosmicCore::CEntityComponentManager eM;
|
||||
eM.getEntities().emplace_back<CosmicCore::CEntity>("name");
|
||||
REQUIRE(!eM.getEntities().empty());
|
||||
REQUIRE(eM.getEntities()[0].value().get().getName() == "name");
|
||||
eM.getEntities().erase(0);
|
||||
REQUIRE(eM.getEntities().empty());
|
||||
REQUIRE(!eM.getEntities()[0].has_value());
|
||||
REQUIRE(!eM.getEntities()[0].has_value());*/
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user