Skip to content

Commit

Permalink
Angle rain less
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Dec 23, 2023
1 parent d370644 commit 2a98e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public void renderWeather(LightTexture lightTexture, float partialTick, double c

Matrix4f quadRotate = new Matrix4f();
quadRotate.translate((float) (x - camX + 0.5), (float) (minY - camY), (float) (z - camZ + 0.5));
quadRotate.rotate(speed, -status.windZ, 0, status.windX);
quadRotate.rotate(relSpeed, -status.windZ, 0, status.windX);
quadRotate.translate((float) -(x - camX + 0.5), (float) -(minY - camY), (float) -(z - camZ + 0.5));

float movement = swirlMovement * status.swirl;
Expand Down

0 comments on commit 2a98e06

Please sign in to comment.