mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-19 08:52:54 +00:00
24 lines
607 B
C++
24 lines
607 B
C++
#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(std::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);
|
|
};
|