mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Cleaned up Cube (#48)
* Cleaned up Cube * Refactor/cleanup & documentation of Cube * Renamed Tesselator to Tessellator * Revert "Tesselator" Spelling Correction --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -30,8 +30,8 @@ void TripodCameraRenderer::render(Entity* entity, float x, float y, float z, flo
|
||||
{
|
||||
glPushMatrix();
|
||||
glTranslatef(x, y, z);
|
||||
m_cube.field_C = 0.017453f * (180.0f + 0.5f * entity->m_pitch);
|
||||
m_cube.field_10 = -0.017453f * entity->m_yaw;
|
||||
m_cube.m_rotX = 0.017453f * (180.0f + 0.5f * entity->m_pitch);
|
||||
m_cube.m_rotY = -0.017453f * entity->m_yaw;
|
||||
|
||||
Tesselator& t = Tesselator::instance;
|
||||
t.color(1.0f, 1.0f, 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user