Skip to content

Commit

Permalink
close enuf
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbudda committed Jul 20, 2016
1 parent 6769438 commit 2c00a00
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@
+ {
+ if (!this.mc.vrSettings.hideGui || this.mc.currentScreen != null)
+ {
+ GL11.glAlphaFunc(GL11.GL_GREATER, 0.1F);
+ GlStateManager.alphaFunc(GL11.GL_GREATER, 0.1F);
+ boolean var12 = this.mc.gameSettings.fancyGraphics;
+
+ if (!Config.isVignetteEnabled())
Expand Down
33 changes: 24 additions & 9 deletions src/com/mtbs3d/minecrift/render/RenderVRPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,21 @@ public void renderRightArm(AbstractClientPlayer clientPlayer)
modelplayer.bipedRightArm.rotateAngleX = 0;
modelplayer.bipedRightArm.rotateAngleY = 0;
modelplayer.bipedRightArm.rotateAngleZ = 0;
modelplayer.bipedRightArm.rotateAngleX = 0.0F;
// modelplayer.bipedRightArm.offsetX = 0;
// modelplayer.bipedRightArm.offsetY = 0;
// modelplayer.bipedRightArm.offsetZ = 0;
modelplayer.bipedRightArm.render(0.0625F);
modelplayer.bipedRightArmwear.offsetX = 0;
modelplayer.bipedRightArmwear.offsetY = 0;
modelplayer.bipedRightArmwear.offsetZ = 0;
modelplayer.bipedRightArmwear.rotateAngleX = 0.0F;
// modelplayer.bipedRightArmwear.offsetX = 0;
// modelplayer.bipedRightArmwear.offsetY = 0;
// modelplayer.bipedRightArmwear.offsetZ = 0;
modelplayer.bipedRightArmwear.rotateAngleY = 0.0F;
modelplayer.bipedRightArmwear.rotateAngleX = 0.0F;
modelplayer.bipedRightArmwear.rotateAngleZ = 0.0F;
// modelplayer.bipedRightArmwear.rotationPointX = 0.0F;
// modelplayer.bipedRightArmwear.rotationPointY = 0.0F;
modelplayer.bipedRightArmwear.rotationPointZ = 0.0F;
modelplayer.bipedRightArmwear.render(0.0625F);

GlStateManager.disableBlend();
}

Expand All @@ -79,12 +86,20 @@ public void renderLeftArm(AbstractClientPlayer clientPlayer)
modelplayer.bipedLeftArm.rotateAngleX = 0;
modelplayer.bipedLeftArm.rotateAngleY = 0;
modelplayer.bipedLeftArm.rotateAngleZ = 0;
modelplayer.bipedLeftArm.rotateAngleX = 0.0F;
// modelplayer.bipedLeftArm.offsetX = 0;
// modelplayer.bipedLeftArm.offsetY = 0;
// modelplayer.bipedLeftArm.offsetZ = 0;
modelplayer.bipedLeftArm.render(0.0625F);
modelplayer.bipedLeftArmwear.offsetX = 0;
modelplayer.bipedLeftArmwear.offsetY = 0;
modelplayer.bipedLeftArmwear.offsetZ = 0;
// modelplayer.bipedLeftArmwear.offsetX = 0;
// modelplayer.bipedLeftArmwear.offsetY = 0;
// modelplayer.bipedLeftArmwear.offsetZ = 0;
modelplayer.bipedLeftArmwear.rotateAngleX = 0.0F;
modelplayer.bipedLeftArmwear.rotateAngleY = 0.0F;
modelplayer.bipedLeftArmwear.rotateAngleZ = 0.0F;
// modelplayer.bipedLeftArmwear.rotationPointX = 0.0F;
// modelplayer.bipedLeftArmwear.rotationPointY = 0.0F;
modelplayer.bipedLeftArmwear.rotationPointZ = 0.0F;

modelplayer.bipedLeftArmwear.render(0.0625F);
GlStateManager.disableBlend();
}
Expand Down

0 comments on commit 2c00a00

Please sign in to comment.