mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
yeah that thing too
This commit is contained in:
parent
de40ff388a
commit
1cb8ca18cf
@ -32,8 +32,16 @@ public class RenderFusionKlystron extends TileEntitySpecialRenderer implements I
|
||||
|
||||
GL11.glShadeModel(GL11.GL_SMOOTH);
|
||||
bindTexture(ResourceManager.fusion_klystron_tex);
|
||||
ResourceManager.fusion_klystron.renderAll();
|
||||
ResourceManager.fusion_klystron.renderPart("Klystron");
|
||||
|
||||
GL11.glPushMatrix();
|
||||
double rot = (System.currentTimeMillis() / 10) % 360D;
|
||||
GL11.glTranslated(0, 2.5, 0);
|
||||
GL11.glRotated(rot, 1, 0, 0);
|
||||
GL11.glTranslated(0, -2.5, 0);
|
||||
ResourceManager.fusion_klystron.renderPart("Rotor");
|
||||
GL11.glShadeModel(GL11.GL_FLAT);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
@ -56,7 +64,12 @@ public class RenderFusionKlystron extends TileEntitySpecialRenderer implements I
|
||||
GL11.glRotatef(90, 0F, 1F, 0F);
|
||||
GL11.glShadeModel(GL11.GL_SMOOTH);
|
||||
bindTexture(ResourceManager.fusion_klystron_tex);
|
||||
ResourceManager.fusion_klystron.renderAll();
|
||||
ResourceManager.fusion_klystron.renderPart("Klystron");
|
||||
double rot = (System.currentTimeMillis() / 10) % 360D;
|
||||
GL11.glTranslated(0, 2.5, 0);
|
||||
GL11.glRotated(rot, 1, 0, 0);
|
||||
GL11.glTranslated(0, -2.5, 0);
|
||||
ResourceManager.fusion_klystron.renderPart("Rotor");
|
||||
GL11.glShadeModel(GL11.GL_FLAT);
|
||||
}};
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 6.8 KiB |
Loading…
x
Reference in New Issue
Block a user