mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Flip stair rendering 90 degrees, to be shaded like regular blocks do.
This commit is contained in:
@@ -238,7 +238,10 @@ void ItemRenderer::renderGuiItem(Font* font, Textures* textures, ItemInstance* i
|
||||
glScalef(10, 10, 10);
|
||||
glRotatef(210.0f, 1.0f, 0.0f, 0.0f);
|
||||
glRotatef(45.0f, 0.0f, 1.0f, 0.0f);
|
||||
glRotatef(-90.0f, 0.0f, 1.0f, 0.0f);
|
||||
|
||||
// TODO: Why can't we rotate stairs 90deg also? What's rotating them!?
|
||||
if (Tile::tiles[itemID]->getRenderShape() != SHAPE_STAIRS)
|
||||
glRotatef(-90.0f, 0.0f, 1.0f, 0.0f);
|
||||
|
||||
#ifdef ENH_SHADE_HELD_TILES
|
||||
# define PARM_HACK , 1
|
||||
|
||||
Reference in New Issue
Block a user