Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 3 files). Show all
Unified · Split
| @@ -664,7 +664,7 @@ void SkeletonModel::renderBoundingCollisionShapes(gpu::Batch& batch, float alpha · 663 unmodified lines | ||
| 664 | 664 | // draw a blue sphere at the capsule top point |
| 665 | 665 | glm::vec3 topPoint = _translation + _boundingCapsuleLocalOffset + (0.5f * _boundingCapsuleHeight) * glm::vec3(0.0f, 1.0f, 0.0f); |
| 666 | 666 | |
| 667 | − deferredLighting->renderSolidSphereInstance(batch, | |
| 667 | + deferredLighting->renderSolidSphereInstance(batch, | |
| 668 | 668 | Transform().setTranslation(topPoint).postScale(_boundingCapsuleRadius), |
| 669 | 669 | glm::vec4(0.6f, 0.6f, 0.8f, alpha)); |
| 670 | 670 | |
| @@ -672,7 +672,7 @@ void SkeletonModel::renderBoundingCollisionShapes(gpu::Batch& batch, float alpha · 1 unmodified line | ||
| 672 | 672 | glm::vec3 bottomPoint = topPoint - glm::vec3(0.0f, _boundingCapsuleHeight, 0.0f); |
| 673 | 673 | glm::vec3 axis = topPoint - bottomPoint; |
| 674 | 674 | |
| 675 | − deferredLighting->renderSolidSphereInstance(batch, | |
| 675 | + deferredLighting->renderSolidSphereInstance(batch, | |
| 676 | 676 | Transform().setTranslation(bottomPoint).postScale(_boundingCapsuleRadius), |
| 677 | 677 | glm::vec4(0.8f, 0.8f, 0.6f, alpha)); |
| 678 | 678 | |