Skip to content

Commit

Permalink
Remove obsolete applyCameraRotationOnly() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 14, 2024
1 parent 84662ed commit 3327b5e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/net/wimods/chestesp/util/RenderUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@ public static void applyRenderOffset(PoseStack matrixStack)
matrixStack.translate(-camPos.x, -camPos.y, -camPos.z);
}

public static void applyCameraRotationOnly()
{
// no longer necessary for some reason

// Camera camera =
// WurstClient.MC.getBlockEntityRenderDispatcher().camera;
// GL11.glRotated(MathHelper.wrapDegrees(camera.getPitch()), 1, 0, 0);
// GL11.glRotated(MathHelper.wrapDegrees(camera.getYaw() + 180.0), 0, 1,
// 0);
}

public static Vec3 getCameraPos()
{
Camera camera = MC.getBlockEntityRenderDispatcher().camera;
Expand Down

0 comments on commit 3327b5e

Please sign in to comment.