public static void Render() { GL.PushMatrix(); GL.Translate(0.0f, -0.125f, 0.0f); GL.Scale(0.5f, 0.5f, 1.0f); GL.PushMatrix(); GL.Translate(0.375f, 0.75f, 0.0f); GL.PushMatrix(); GL.Translate(0.0f, -0.5f, 0.0f); GL.Scale(0.25f, 2.0f, 0.33f); mcComponent.render(1.0f); GL.PopMatrix(); GL.PushMatrix(); GL.Translate(-0.75f, -0.0f, 0.0f); GL.Scale(0.25f, 1.0f, 0.33f); mcComponent.render(1.0f); GL.PopMatrix(); GL.PushMatrix(); GL.Translate(-0.37f, 0.375f, 0.0f); GL.Scale(1.0f, 0.25f, 0.33f); mcComponent.render(1.0f); GL.PopMatrix(); GL.PushMatrix(); GL.Translate(-0.37f, -0.375f, 0.0f); GL.Scale(1.0f, 0.25f, 0.33f); mcComponent.render(1.0f); GL.PopMatrix(); GL.PopMatrix(); GL.PopMatrix(); }
public void smallPileOne() { GL.PushMatrix(); GL.Translate(0.0f, -0.05f, 0.0f); GL.Rotate(45.0f, 1.0f, 1.0f, 1.0f); GL.Scale(0.25f, 0.25f, 0.25f); cube.render(1.0f); GL.PopMatrix(); }
public void RenderDebugCube() { debugCube.render(1.0f); }