forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
17
src/client/renderer/RenderChunk.cpp
Executable file
17
src/client/renderer/RenderChunk.cpp
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#include "RenderChunk.h"
|
||||
|
||||
int RenderChunk::runningId = 0;
|
||||
|
||||
RenderChunk::RenderChunk() :
|
||||
vboId(-1),
|
||||
vertexCount(0)
|
||||
{
|
||||
id = ++runningId;
|
||||
}
|
||||
|
||||
RenderChunk::RenderChunk( GLuint vboId_, int vertexCount_ )
|
||||
: vboId(vboId_),
|
||||
vertexCount(vertexCount_)
|
||||
{
|
||||
id = ++runningId;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue