Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Functions | Variables
ECS_Systems_Camera.cpp File Reference
#include "ECS_Systems.h"
#include "ECS_Components.h"
#include "ECS_Register.h"
#include "World.h"
#include "GameEngine.h"
#include "system/KeyboardManager.h"
#include "system/JoystickManager.h"
#include "system/ViewportManager.h"
#include "system/system_utils.h"
#include "system/system_consts.h"
#include <cmath>
#include <random>
+ Include dependency graph for ECS_Systems_Camera.cpp:

Go to the source code of this file.

Functions

static std::mt19937 gen (rd())
 
static std::uniform_real_distribution< floatshakeDist (-1.0f, 1.0f)
 

Variables

static std::random_device rd
 

Function Documentation

◆ gen()

static std::mt19937 gen ( rd()  )
static

Referenced by Olympe::TemplateManager::GenerateUUID(), and CameraSystem::UpdateCameraShake().

+ Here is the caller graph for this function:

◆ shakeDist()

static std::uniform_real_distribution< float > shakeDist ( -1.  0f,
1.  0f 
)
static

Referenced by CameraSystem::UpdateCameraShake().

+ Here is the caller graph for this function:

Variable Documentation

◆ rd

std::random_device rd
static

Definition at line 30 of file ECS_Systems_Camera.cpp.

Referenced by Olympe::TemplateManager::GenerateUUID().