mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 12:54:30 +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
|
_joint[ AVATAR_JOINT_HEAD_BASE ].radius
|
||||||
);
|
);
|
||||||
|
|
||||||
_head.setBodyYaw(_bodyYaw);
|
setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f)); //default lookat position is 0,0,0
|
||||||
|
|
||||||
//test
|
|
||||||
setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f));
|
|
||||||
|
|
||||||
if (_interactingOther) {
|
if (_interactingOther) {
|
||||||
_head.setLooking(true);
|
_head.setLooking(true);
|
||||||
|
@ -409,7 +406,7 @@ setLookatPosition(glm::vec3(0.0f, 0.0f, 0.0f));
|
||||||
_head.setLooking(false);
|
_head.setLooking(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_head.setBodyYaw(_bodyYaw);
|
||||||
_head.setLookatPosition(_lookatPosition);
|
_head.setLookatPosition(_lookatPosition);
|
||||||
_head.setAudioLoudness(_audioLoudness);
|
_head.setAudioLoudness(_audioLoudness);
|
||||||
_head.setSkinColor(glm::vec3(skinColor[0], skinColor[1], skinColor[2]));
|
_head.setSkinColor(glm::vec3(skinColor[0], skinColor[1], skinColor[2]));
|
||||||
|
|
Loading…
Reference in a new issue