blob: d94fddc3b4c01cb7c12c5f1f6721dfeefdfa8173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "TileEntityRenderer.h"
class TheEndPortalRenderer : public TileEntityRenderer
{
private:
static ResourceLocation END_SKY_LOCATION;
static ResourceLocation END_PORTAL_LOCATION;
static int RANDOM_SEED;
static Random RANDOM;
public:
virtual void render(shared_ptr<TileEntity> _table, double x, double y, double z, float a, bool setColor, float alpha=1.0f, bool useCompiled = true);
FloatBuffer *lb;
TheEndPortalRenderer();
private:
FloatBuffer *getBuffer(float a, float b, float c, float d);
};
|