128129130131132133134135136137138
GL11.glRotatef( 160.0f, 0.0f, 1.0f, 0.0f ); GL11.glTranslated( -0.4, 0.1, -1.6 ); } if ( fp != null ) fp.renderInventory( BusRenderHelper.instance, renderer ); } else { IPart ip = getRenderer( item, (IPartItem) item.getItem() ); if ( ip != null )
141142143144145146147148149150151
{ int depth = ip.cableConnectionRenderTo(); GL11.glTranslatef( 0.0f, 0.0f, -0.04f * (8 - depth) - 0.06f ); } ip.renderInventory( BusRenderHelper.instance, renderer ); } } renderer.uvRotateBottom = renderer.uvRotateEast = renderer.uvRotateNorth = renderer.uvRotateSouth = renderer.uvRotateTop = renderer.uvRotateWest = 0;