IBaubleRender.Helper.rotateIfSneaking has incorrect positioning
yrsegal opened this issue ยท 4 comments
GlStateManager.translate(0.0, 0.3, 0.0)
works at no scale changing with rendertype HEAD
with rendertype BODY
, GlStateManager.translate(0.0, 0.2, 0.0)
Just realized this dupes #101, but it provides a solution to it
Ok, let me rephrase.
translateToHeadLevel
absolutely messes up when you sneak and change your yaw pitch.
rotateIfSneaking
needs to call GlStateManager.translate(0.0, 0.3, 0.0)
before the rotation is applied.
fold into #101