Botania Unofficial

Botania Unofficial

795k Downloads

IBaubleRender.Helper.rotateIfSneaking has incorrect positioning

yrsegal opened this issue ยท 4 comments

commented

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)

commented

Just realized this dupes #101, but it provides a solution to it

commented

Wait idk what your message is saying to change :p

commented

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.

commented

fold into #101