![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include "ECS_Components_Camera.h"#include "ECS_Components.h"#include "ECS_Register.h"#include "World.h"#include "vector.h"#include "system/system_consts.h"#include "system/ViewportManager.h"#include <cmath>#include <SDL3/SDL.h>#include "ECS_Systems_Rendering_Camera.h"
Include dependency graph for ECS_Systems_Rendering_Camera.cpp:Go to the source code of this file.
Functions | |
| CameraTransform | GetActiveCameraTransform (short playerID) |
| CameraTransform GetActiveCameraTransform | ( | short | playerID | ) |
Definition at line 26 of file ECS_Systems_Rendering_Camera.cpp.
References ViewportManager::Get(), World::Get(), World::GetComponent(), GetComponentTypeID_Static(), ViewportManager::GetViewRectForPlayer(), World::HasComponent(), CameraTransform::isActive, World::m_entitySignatures, Camera_data::position, and CameraEffects_data::shakeOffset.
Referenced by RenderingSystem::Render(), GridSystem::Render(), UIRenderingSystem::Render(), and OlympeEffectSystem::Render().
Here is the call graph for this function:
Here is the caller graph for this function: