mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:53:10 +02:00
thingy
This commit is contained in:
parent
aafb557b02
commit
cd248188d9
1 changed files with 2 additions and 4 deletions
|
@ -441,8 +441,7 @@ void Head::renderIrises(float yaw) {
|
|||
}
|
||||
|
||||
//render left iris
|
||||
glPushMatrix();
|
||||
{
|
||||
glPushMatrix(); {
|
||||
glTranslatef(leftEyePosition.x, leftEyePosition.y, leftEyePosition.z);
|
||||
glm::vec3 targetLookatAxis = glm::normalize(lookatPosition - leftEyePosition);
|
||||
|
||||
|
@ -463,8 +462,7 @@ void Head::renderIrises(float yaw) {
|
|||
glPopMatrix();
|
||||
|
||||
//render right iris
|
||||
glPushMatrix();
|
||||
{
|
||||
glPushMatrix(); {
|
||||
glTranslatef(rightEyePosition.x, rightEyePosition.y, rightEyePosition.z);
|
||||
glm::vec3 targetLookatAxis = glm::normalize(lookatPosition - rightEyePosition);
|
||||
|
||||
|
|
Loading…
Reference in a new issue