mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
48 lines
809 B
C++
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;
|
|
}
|
|
};
|
|
|