mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 16:56:42 +02:00
fix
This commit is contained in:
parent
8d031b5c2d
commit
00dce6b59e
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ Avatar::Avatar(Agent* owningAgent) :
|
||||||
void Avatar::initializeBodyBalls() {
|
void Avatar::initializeBodyBalls() {
|
||||||
|
|
||||||
for (int b=0; b<NUM_AVATAR_BODY_BALLS; b++) {
|
for (int b=0; b<NUM_AVATAR_BODY_BALLS; b++) {
|
||||||
_bodyBall[b].parent = AVATAR_JOINT_NULL;
|
_bodyBall[b].parentJoint = AVATAR_JOINT_NULL;
|
||||||
_bodyBall[b].parentOffset = glm::vec3(0.0, 0.0, 0.0);
|
_bodyBall[b].parentOffset = glm::vec3(0.0, 0.0, 0.0);
|
||||||
_bodyBall[b].position = glm::vec3(0.0, 0.0, 0.0);
|
_bodyBall[b].position = glm::vec3(0.0, 0.0, 0.0);
|
||||||
_bodyBall[b].velocity = glm::vec3(0.0, 0.0, 0.0);
|
_bodyBall[b].velocity = glm::vec3(0.0, 0.0, 0.0);
|
||||||
|
|
|
@ -132,7 +132,7 @@ private:
|
||||||
|
|
||||||
struct AvatarBall
|
struct AvatarBall
|
||||||
{
|
{
|
||||||
AvatarJointID parent;
|
AvatarJointID parentJoint;
|
||||||
glm::vec3 parentOffset;
|
glm::vec3 parentOffset;
|
||||||
glm::vec3 position;
|
glm::vec3 position;
|
||||||
glm::vec3 velocity;
|
glm::vec3 velocity;
|
||||||
|
|
Loading…
Reference in a new issue