Fix
This commit is contained in:
parent
d54c9805b3
commit
b5ce661284
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
/bin
|
||||||
|
/build
|
||||||
|
output.txt
|
@ -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();
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user