Skip to content

Commit

Permalink
Disable unfinished code
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
Motschen committed Jul 7, 2021
1 parent 7a33ed2 commit 46696cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void render(SubmarineEntity entity, float yaw, float tickDelta, MatrixSta
matrixStack.push();
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F - yaw));
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F));
matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8));
//matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8));
entity.prevRoll = yaw;
matrixStack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(180.0F + pitch));
matrixStack.translate(0.0D , -1.75D, -0.5D + (90 + entity.getPitch()) * 0.01f);
Expand Down

0 comments on commit 46696cd

Please sign in to comment.