MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / Engine

Method Engine

ZEngine/src/Engine.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 Core::TimeStep Engine::m_delta_time = {0.0f};
9
10 Engine::Engine(const EngineConfiguration& configuration) : m_request_terminate(false), m_last_frame_time(0.0f) {
11 Logging::Logger::Initialize(configuration.LoggerConfiguration);
12 ZENGINE_CORE_INFO("Engine created");
13
14 m_window.reset(ZEngine::Window::Create(configuration.WindowConfiguration));
15 m_window->SetAttachedEngine(this);
16 }
17
18 Engine::~Engine() {
19 m_request_terminate = false;

Callers

nothing calls this directly

Calls 2

CreateFunction · 0.85
SetAttachedEngineMethod · 0.80

Tested by

no test coverage detected