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 | 384 | OrientationLineIDs& jointLineIDs = _jointOrientationLines[jointIndex]; |
| 385 | 385 | |
| 386 | − glm::vec3 pRight = position + orientation * IDENTITY_RIGHT * size; | |
| 387 | − glm::vec3 pUp = position + orientation * IDENTITY_UP * size; | |
| 388 | − glm::vec3 pFront = position + orientation * IDENTITY_FRONT * size; | |
| 386 | + glm::vec3 pRight = position + orientation * IDENTITY_RIGHT * size; | |
| 387 | + glm::vec3 pUp = position + orientation * IDENTITY_UP * 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 | 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 | 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 | 397 | geometryCache->renderLine(position, pFront, jointLineIDs._front); |
| 398 | 398 | } |
| 399 | 399 | |