mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:36:30 +02:00
had to take out call to myAvatar.getBonePosition - unclear why it now isn't working.
This commit is contained in:
parent
d5d746ff9e
commit
98c8228161
1 changed files with 3 additions and 1 deletions
|
@ -742,6 +742,8 @@ void display(void)
|
||||||
glEnable(GL_LIGHTING);
|
glEnable(GL_LIGHTING);
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
// Test - Draw a blue sphere around a body part of mine!
|
// Test - Draw a blue sphere around a body part of mine!
|
||||||
|
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
|
@ -750,8 +752,8 @@ void display(void)
|
||||||
myAvatar.getBonePosition(AVATAR_BONE_RIGHT_HAND).y,
|
myAvatar.getBonePosition(AVATAR_BONE_RIGHT_HAND).y,
|
||||||
myAvatar.getBonePosition(AVATAR_BONE_RIGHT_HAND).z);
|
myAvatar.getBonePosition(AVATAR_BONE_RIGHT_HAND).z);
|
||||||
glutSolidSphere(0.03, 10, 10);
|
glutSolidSphere(0.03, 10, 10);
|
||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
*/
|
||||||
|
|
||||||
// draw a red sphere
|
// draw a red sphere
|
||||||
float sphereRadius = 0.25f;
|
float sphereRadius = 0.25f;
|
||||||
|
|
Loading…
Reference in a new issue