Files
mcpe/source/client/renderer/RenderChunk.hpp
2023-08-08 11:32:51 +03:00

48 lines
809 B
C++

/********************************************************************
Minecraft: Pocket Edition - Decompilation Project
Copyright (C) 2023 iProgramInCpp
The following code is licensed under the BSD 1 clause license.
SPDX-License-Identifier: BSD-1-Clause
********************************************************************/
#pragma once
#include "compat/GL.hpp"
class RenderChunk
{
static int runningId;
public:
GLuint field_0;
int field_4;
int m_id;
float field_C;
float field_10;
float field_14;
public:
RenderChunk()
{
field_0 = -1;
field_4 = 0;
field_C = 0.0f;
field_10 = 0.0f;
field_14 = 0.0f;
m_id = ++runningId;
}
RenderChunk(GLuint a1, int a2)
{
field_C = 0.0f;
field_10 = 0.0f;
field_14 = 0.0f;
m_id = ++runningId;
field_0 = a1;
field_4 = a2;
}
};