Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 19 files). Show all
Unified · Split
| @@ -2468,9 +2468,9 @@ void StaticModelRenderer::renderUnclipped(float alpha, Mode mode) { · 2467 unmodified lines | |||
| 2468 | _model->render(alpha); | 2468 | _model->render(alpha); |
| 2469 | } | 2469 | } |
| 2470 | 2470 | ||
| 2471 | bool StaticModelRenderer::findRayIntersection(const glm::vec3& origin, const glm::vec3& direction, | 2471 | bool StaticModelRenderer::findRayIntersection(RayIntersectionInfo& intersection, |
| 2472 | const glm::vec3& clipMinimum, float clipSize, float& distance) const { | 2472 | const glm::vec3& clipMinimum, float clipSize) const { |
| 2473 | return _model->findRayIntersection(origin, direction, distance); | 2473 | return _model->findRayIntersection(intersection); |
| 2474 | } | 2474 | } |
| 2475 | 2475 | ||
| 2476 | void StaticModelRenderer::applyTranslation(const glm::vec3& translation) { | 2476 | void StaticModelRenderer::applyTranslation(const glm::vec3& translation) { |