mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
clean up the diff further
This commit is contained in:
parent
fc6e4e32b1
commit
485edf0679
|
|
@ -24,7 +24,7 @@ float Camera::za2 = 0.0f;
|
||||||
void Camera::prepare(std::shared_ptr<Player> player, bool mirror) {
|
void Camera::prepare(std::shared_ptr<Player> player, bool mirror) {
|
||||||
glGetFloat(GL_MODELVIEW_MATRIX, modelview);
|
glGetFloat(GL_MODELVIEW_MATRIX, modelview);
|
||||||
glGetFloat(GL_PROJECTION_MATRIX, projection);
|
glGetFloat(GL_PROJECTION_MATRIX, projection);
|
||||||
|
|
||||||
/* Original java code for reference
|
/* Original java code for reference
|
||||||
glGetInteger(GL_VIEWPORT, viewport);
|
glGetInteger(GL_VIEWPORT, viewport);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -389,7 +389,6 @@ void ItemRenderer::renderGuiItem(Font* font, Textures* textures,
|
||||||
// render has the top surface coloured differently to
|
// render has the top surface coloured differently to
|
||||||
// the rest of the block
|
// the rest of the block
|
||||||
glRotatef(-90.0f, 0.0f, 1.0f, 0.0f);
|
glRotatef(-90.0f, 0.0f, 1.0f, 0.0f);
|
||||||
// glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
|
|
||||||
|
|
||||||
tileRenderer->renderTile(tile, itemAuxValue, 1, fAlpha, useCompiled);
|
tileRenderer->renderTile(tile, itemAuxValue, 1, fAlpha, useCompiled);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue