Rename camera projection view function name
This commit is contained in:
@@ -105,7 +105,7 @@ namespace Inferno {
|
||||
|
||||
glm::mat4 Scene::cameraProjectionView()
|
||||
{
|
||||
return CameraSystem::the().cameraProjectionView();
|
||||
return CameraSystem::the().projectionView();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Inferno {
|
||||
s_instance = nullptr;
|
||||
}
|
||||
|
||||
glm::mat4 CameraSystem::cameraProjectionView()
|
||||
glm::mat4 CameraSystem::projectionView()
|
||||
{
|
||||
auto orthoView = m_registry->view<TransformComponent, OrthographicCameraComponment>();
|
||||
|
||||
|
||||
@@ -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; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user