Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change remaining GL double usage to float
  • Loading branch information
pupnewfster committed Jul 8, 2019
1 parent b48a64d commit c83eee8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ public void render(TileEntityReactorController tileEntity, double x, double y, d
private void renderPart(EnumColor color, double scale, float ticks, long scaledTemp, int mult1, int mult2, int shift1, int shift2) {
float ticksScaledTemp = ticks * scaledTemp;
GlStateManager.pushMatrix();
GlStateManager.scale(scale, scale, scale);
GlStateManager.scale((float) scale, (float) scale, (float) scale);
GLSMHelper.color(color);
GlStateManager.rotate(ticksScaledTemp * mult1 + shift1, 0, 1, 0);
GlStateManager.rotate(ticksScaledTemp * mult2 + shift2, 0, 1, 1);
Expand Down

0 comments on commit c83eee8

Please sign in to comment.