mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Improve the entity ID system, and add priority system. We should no longer have clashes.
This commit is contained in:
@@ -156,7 +156,7 @@ void MobRenderer::renderNameTag(Mob* mob, const std::string& str, float x, float
|
||||
glNormal3f(0.0f, 1.0f, 0.0f);
|
||||
// billboard the name towards the camera
|
||||
glRotatef(-m_pDispatcher->m_yaw, 0.0f, 1.0f, 0.0f);
|
||||
glRotatef(-m_pDispatcher->m_pitch, 1.0f, 0.0f, 0.0f);
|
||||
glRotatef(m_pDispatcher->m_pitch, 1.0f, 0.0f, 0.0f);
|
||||
glScalef(-0.026667f, -0.026667f, 0.026667f);
|
||||
glDepthMask(false);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
||||
Reference in New Issue
Block a user