HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
Loading...
Searching...
No Matches
Functions | Variables
main.cpp File Reference

Entry point for the HPC Voxel Engine. Initializes subsystems and executes the main game loop. More...

#include <iostream>
#include <vector>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <core/MathUtils.h>
#include <core/Matrix.h>
#include <renderer/PrimitiveRenderer.h>
#include <renderer/Shader.h>
#include <renderer/Texture.h>
#include <world/Chunk.h>
#include <world/ChunkManager.h>
#include "app/Application.h"
#include "app/InputHandler.h"
#include "app/InputManager.h"
#include "physics/ThermalSystem.h"
#include "renderer/WorldRenderer.h"
Include dependency graph for main.cpp:

Functions

static void SetOpenGLState ()
 Configures the initial global OpenGL state parameters for 3D rendering.
 
int main ()
 

Variables

constexpr float CLEAR_COLOR [4]
 Background clear color (Forest Green)
 
constexpr float FIXED_THERMAL_TIME_STEP
 Fixed physics and thermal simulation timestep (60 FPS)
 

Detailed Description

Entry point for the HPC Voxel Engine. Initializes subsystems and executes the main game loop.

Function Documentation

◆ main()

int main ( )
Here is the call graph for this function:

◆ SetOpenGLState()

static void SetOpenGLState ( )
static

Configures the initial global OpenGL state parameters for 3D rendering.

Here is the caller graph for this function:

Variable Documentation

◆ CLEAR_COLOR

constexpr float CLEAR_COLOR[4]
constexpr
Initial value:
= {
0.2f, 0.3f, 0.2f, 1.0f}

Background clear color (Forest Green)

◆ FIXED_THERMAL_TIME_STEP

constexpr float FIXED_THERMAL_TIME_STEP
constexpr
Initial value:
=
1.0f / 60.0f

Fixed physics and thermal simulation timestep (60 FPS)