Rename camera projection view function name

This commit is contained in:
Riyyi
2021-01-14 15:25:36 +01:00
parent 08d67038f6
commit bb2b1ed38f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ namespace Inferno {
glm::mat4 Scene::cameraProjectionView()
{
return CameraSystem::the().cameraProjectionView();
return CameraSystem::the().projectionView();
}
}
+1 -1
View File
@@ -43,7 +43,7 @@ namespace Inferno {
s_instance = nullptr;
}
glm::mat4 CameraSystem::cameraProjectionView()
glm::mat4 CameraSystem::projectionView()
{
auto orthoView = m_registry->view<TransformComponent, OrthographicCameraComponment>();
+1 -1
View File
@@ -24,7 +24,7 @@ namespace Inferno {
void update();
void destroy();
glm::mat4 cameraProjectionView();
glm::mat4 projectionView();
void setRegistry(const std::shared_ptr<entt::registry>& registry) { m_registry = registry; };