Skip to content

Commit

Permalink
Updated earth texture + rotated it inworld
Browse files Browse the repository at this point in the history
  • Loading branch information
DMgaming100 committed Sep 29, 2024
1 parent 5d6641b commit 7f814ed
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void render(WorldRenderContext context) {
matrices.scale(0.6F, 0.6F, 0.6F);
matrices.mulPose(Axis.XP.rotationDegrees((context.world().getTimeOfDay(context.tickCounter().getRealtimeDeltaTicks()) * 360.0F) * 0.001F));
matrices.mulPose(Axis.XP.rotationDegrees(earthRotation + 200.0F));
matrices.mulPose(Axis.YP.rotationDegrees(180.0F));

RenderSystem.setShaderTexture(0, EARTH_TEXTURE);

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7f814ed

Please sign in to comment.