mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-01 21:34:36 +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) {
|
||||
glGetFloat(GL_MODELVIEW_MATRIX, modelview);
|
||||
glGetFloat(GL_PROJECTION_MATRIX, projection);
|
||||
|
||||
|
||||
/* Original java code for reference
|
||||
glGetInteger(GL_VIEWPORT, viewport);
|
||||
|
||||
|
|
|
|||
|
|
@ -389,7 +389,6 @@ void ItemRenderer::renderGuiItem(Font* font, Textures* textures,
|
|||
// render has the top surface coloured differently to
|
||||
// the rest of the block
|
||||
glRotatef(-90.0f, 0.0f, 1.0f, 0.0f);
|
||||
// glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);
|
||||
|
||||
tileRenderer->renderTile(tile, itemAuxValue, 1, fAlpha, useCompiled);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue