Improved code based on CppCheck results
None of this should change the engine's behavior, but the code is better this way. Former-commit-id: 0127769848fc1f7fc8006ee607985cfc0ead2965
This commit is contained in:
@@ -19,8 +19,6 @@ namespace Ndk
|
||||
for (const Ndk::EntityHandle& camera : m_cameras)
|
||||
{
|
||||
CameraComponent& camComponent = camera->GetComponent<CameraComponent>();
|
||||
NodeComponent& cameraNode = camera->GetComponent<NodeComponent>();
|
||||
|
||||
camComponent.ApplyView();
|
||||
|
||||
NzScene dummyScene;
|
||||
|
||||
Reference in New Issue
Block a user