Botcraft
1.21.4
Loading...
Searching...
No Matches
Chunk.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
botcraft/Renderer/BlockRenderable.hpp
"
4
5
namespace
Botcraft
6
{
7
namespace
Renderer
8
{
9
class
Chunk
:
public
BlockRenderable
10
{
11
public
:
12
Chunk
();
13
~Chunk
();
14
15
void
Update
();
16
void
AddFace
(
const
Face
& f,
const
std::array<unsigned int, 2>& texture_multipliers,
17
const
float
offset_x,
const
float
offset_y,
const
float
offset_z);
18
};
19
}
// Renderer
20
}
// Botcraft
BlockRenderable.hpp
Botcraft::Renderer::BlockRenderable
Definition
BlockRenderable.hpp:21
Botcraft::Renderer::Chunk
Definition
Chunk.hpp:10
Botcraft::Renderer::Chunk::~Chunk
~Chunk()
Definition
Chunk.cpp:14
Botcraft::Renderer::Chunk::Chunk
Chunk()
Definition
Chunk.cpp:9
Botcraft::Renderer::Chunk::Update
void Update()
Definition
Chunk.cpp:19
Botcraft::Renderer::Chunk::AddFace
void AddFace(const Face &f, const std::array< unsigned int, 2 > &texture_multipliers, const float offset_x, const float offset_y, const float offset_z)
Definition
Chunk.cpp:60
Botcraft::Renderer::Face
Definition
Face.hpp:18
Botcraft
Definition
BaseNode.hpp:6
botcraft
private_include
botcraft
Renderer
Chunk.hpp
Generated by
1.9.8