aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-02 17:06:42 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-02 17:06:42 +0200
commit23ce7028e76cbbce6c104f3f3e58758d46f6a500 (patch)
tree272aec5adcfbb38ba92cac1694e333127978521a
parent8b69b8cb28f0ef43d1039b7616ca893344e236cd (diff)
Modified test
-rw-r--r--mwe/ecs-homemade/src/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/mwe/ecs-homemade/src/main.cpp b/mwe/ecs-homemade/src/main.cpp
index 2ee6edd..9e230e5 100644
--- a/mwe/ecs-homemade/src/main.cpp
+++ b/mwe/ecs-homemade/src/main.cpp
@@ -69,9 +69,6 @@ int main() {
}
std::cout << std::endl;
- ComponentManager::GetInstance().DeleteAllComponentsOfId(gameObect0.mId);
- gameObect0.AddComponent<Rigidbody>(-10, -120, -564);
-
std::cout << "Finding all rigidbodies of entity 3" << std::endl;
std::vector<std::reference_wrapper<Rigidbody>> rigidbodyOfEntity3 = ComponentManager::GetInstance().GetComponentsByID<Rigidbody>(gameObect3.mId);
for(Rigidbody& rigidbodyEntity3 : rigidbodyOfEntity3) {