Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 1 file). Show all
Unified · Split
| @@ -383,17 +383,17 @@ void SkeletonModel::renderOrientationDirections(int jointIndex, glm::vec3 positi · 382 unmodified lines | |||
| 383 | } | 383 | } |
| 384 | OrientationLineIDs& jointLineIDs = _jointOrientationLines[jointIndex]; | 384 | OrientationLineIDs& jointLineIDs = _jointOrientationLines[jointIndex]; |
| 385 | 385 | ||
| 386 | glm::vec3 pRight = position + orientation * IDENTITY_RIGHT * size; | 386 | glm::vec3 pRight = position + orientation * IDENTITY_RIGHT * size; |
| 387 | glm::vec3 pUp = position + orientation * IDENTITY_UP * size; | 387 | glm::vec3 pUp = position + orientation * IDENTITY_UP * size; |
| 388 | glm::vec3 pFront = position + orientation * IDENTITY_FRONT * size; | 388 | glm::vec3 pFront = position + orientation * IDENTITY_FRONT * size; |
| 389 | 389 | ||
| 390 | glColor3f(1.0f, 0.0f, 0.0f); | 390 | glColor3f(1.0f, 0.0f, 0.0f); |
| 391 | geometryCache->renderLine(position, pRight, jointLineIDs._right); | 391 | geometryCache->renderLine(position, pRight, jointLineIDs._right); |
| 392 | 392 | ||
| 393 | glColor3f(0.0f, 1.0f, 0.0f); | 393 | glColor3f(0.0f, 1.0f, 0.0f); |
| 394 | geometryCache->renderLine(position, pUp, jointLineIDs._up); | 394 | geometryCache->renderLine(position, pUp, jointLineIDs._up); |
| 395 | 395 | ||
| 396 | glColor3f(0.0f, 0.0f, 1.0f); | 396 | glColor3f(0.0f, 0.0f, 1.0f); |
| 397 | geometryCache->renderLine(position, pFront, jointLineIDs._front); | 397 | geometryCache->renderLine(position, pFront, jointLineIDs._front); |
| 398 | } | 398 | } |
| 399 | 399 | ||