Move world on unordered_map and object_ptr

This commit is contained in:
Jiga228
2025-10-18 14:26:22 +07:00
parent bed233e56c
commit 0ec86e3de8
8 changed files with 99 additions and 39 deletions
+1 -7
View File
@@ -8,7 +8,7 @@ void Actor::OnDestroy()
{
}
Actor::Actor()
Actor::Actor() : loc(new Vector3D), rot(new Vector3D), scale(new Vector3D)
{
SetType(Classes::Actor);
}
@@ -60,9 +60,3 @@ void Actor::RemoveTag(const std::string& tag) noexcept
{
tags.remove(tag);
}
void Actor::Destroy()
{
OnDestroy();
//world_->actors.remove(this);
}