mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
cleanup
This commit is contained in:
parent
677f0b5d2e
commit
1e9b04d28f
1 changed files with 2 additions and 5 deletions
|
@ -394,10 +394,7 @@ void Avatar::simulate(float deltaTime) {
|
|||
_joint[ AVATAR_JOINT_HEAD_BASE ].radius
|
||||
);
|
||||
|
||||
_head.setBodyYaw(_bodyYaw);
|
||||
|
||||
//test
|
||||
setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f));
|
||||
setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f)); //default lookat position is 0,0,0
|
||||
|
||||
if (_interactingOther) {
|
||||
_head.setLooking(true);
|
||||
|
@ -409,7 +406,7 @@ setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f));
|
|||
_head.setLooking(false);
|
||||
}
|
||||
|
||||
|
||||
_head.setBodyYaw(_bodyYaw);
|
||||
_head.setLookatPosition(_lookatPosition);
|
||||
_head.setAudioLoudness(_audioLoudness);
|
||||
_head.setSkinColor(glm::vec3(skinColor[0], skinColor[1], skinColor[2]));
|
||||
|
|
Loading…
Reference in a new issue