mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
fix the flipped sign for agentHead translate
This commit is contained in:
parent
8d4061dd72
commit
484ab53764
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ void display(void)
|
|||
Head *agentHead = (Head *)agent->getLinkedData();
|
||||
glPushMatrix();
|
||||
glm::vec3 pos = agentHead->getBodyPosition();
|
||||
glTranslatef(-pos.x, -pos.y, -pos.z);
|
||||
glTranslatef(pos.x, pos.y, pos.z);
|
||||
agentHead->render(0);
|
||||
glPopMatrix();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue