HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Renderer::WorldRenderer Class Reference

High-level renderer for the Voxel World and Global Axes. More...

#include <src/renderer/WorldRenderer.h>

Collaboration diagram for Renderer::WorldRenderer:
Collaboration graph

Static Public Member Functions

static void DrawAxes (const Core::Mat4 &objViewProjection, float fLength=50.0f)
 Draws the RGB coordinate axes at the origin.
 
static void DrawChunks (ChunkManager &objChunkManager, Renderer::Shader &shader, const Core::Mat4 &objViewProjection, bool bEnableFrustumCulling=false)
 Renders the voxel world chunks.
 

Detailed Description

High-level renderer for the Voxel World and Global Axes.

Member Function Documentation

◆ DrawAxes()

void Renderer::WorldRenderer::DrawAxes ( const Core::Mat4 objViewProjection,
float  fLength = 50.0f 
)
static

Draws the RGB coordinate axes at the origin.

Parameters
objViewProjectionCamera VP Matrix.
fLengthLength of the axis lines.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawChunks()

void Renderer::WorldRenderer::DrawChunks ( ChunkManager objChunkManager,
Renderer::Shader shader,
const Core::Mat4 objViewProjection,
bool  bEnableFrustumCulling = false 
)
static

Renders the voxel world chunks.

Parameters
objChunkManagerThe world manager containing chunks.
shaderThe main voxel shader.
objViewProjectionCamera VP Matrix.
bEnableFrustumCullingIf true, skips chunks outside the camera view.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: