Botcraft
1.21.4
Loading...
Searching...
No Matches
TransparentChunk.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include <glm/vec3.hpp>
6
7
#include "
botcraft/Renderer/Chunk.hpp
"
8
9
namespace
Botcraft
10
{
11
namespace
Renderer
12
{
13
class
TransparentChunk
:
public
Chunk
14
{
15
public
:
16
TransparentChunk
();
17
~TransparentChunk
();
18
19
void
SetDisplayStatus
(
const
BufferStatus
s);
20
void
Sort
(
const
glm::vec3& cam_pos);
21
void
Update
();
22
23
protected
:
24
std::vector<Face>
display_faces_positions
;
25
BufferStatus
display_buffer_status
;
26
};
27
}
// Renderer
28
}
// Botcraft
Botcraft::Renderer::Chunk
Definition
Chunk.hpp:10
Botcraft::Renderer::TransparentChunk
Definition
TransparentChunk.hpp:14
Botcraft::Renderer::TransparentChunk::Update
void Update()
Definition
TransparentChunk.cpp:35
Botcraft::Renderer::TransparentChunk::Sort
void Sort(const glm::vec3 &cam_pos)
Definition
TransparentChunk.cpp:83
Botcraft::Renderer::TransparentChunk::~TransparentChunk
~TransparentChunk()
Definition
TransparentChunk.cpp:30
Botcraft::Renderer::TransparentChunk::SetDisplayStatus
void SetDisplayStatus(const BufferStatus s)
Definition
TransparentChunk.cpp:78
Botcraft::Renderer::TransparentChunk::display_buffer_status
BufferStatus display_buffer_status
Definition
TransparentChunk.hpp:25
Botcraft::Renderer::TransparentChunk::TransparentChunk
TransparentChunk()
Definition
TransparentChunk.cpp:25
Botcraft::Renderer::TransparentChunk::display_faces_positions
std::vector< Face > display_faces_positions
Definition
TransparentChunk.hpp:24
Botcraft::Renderer::BufferStatus
BufferStatus
Definition
BlockRenderable.hpp:14
Botcraft
Definition
BaseNode.hpp:6
Chunk.hpp
botcraft
private_include
botcraft
Renderer
TransparentChunk.hpp
Generated by
1.9.8