This commit is contained in:
Kirill Yurkin 2024-06-10 21:13:35 +03:00
parent d54c9805b3
commit b5ce661284
3 changed files with 6 additions and 2 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/bin
/build
output.txt

View File

@ -27,7 +27,7 @@ GameObject* GameObjectFactory::Create(const char* classname)
{ {
return strcmp(p.first->Name(), classname) == 0; return strcmp(p.first->Name(), classname) == 0;
} }
); // m_factories.find(classname); );
assert(it != m_factories.end()); assert(it != m_factories.end());
return it->second(); return it->second();

View File

@ -71,5 +71,5 @@ void Player::Update(float dt)
cameraUpdateLook_FPS(cameraPos); cameraUpdateLook_FPS(cameraPos);
cameraPushToRender(); cameraPushToRender();
g_debugRender->DrawEllipse(this->GetModelMatrix(), Vec3(0.4f, 0.4f, 1.0f)); // g_debugRender->DrawEllipse(this->GetModelMatrix(), Vec3(0.4f, 0.4f, 1.0f));
} }