Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -360,6 +360,10 @@ void StaticModelRenderer::render(float alpha) { · 359 unmodified lines | ||
| 360 | 360 | _model->render(alpha); |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | +bool StaticModelRenderer::findRayIntersection(const glm::vec3& origin, const glm::vec3& direction, float& distance) const { | |
| 364 | + return _model->findRayIntersection(origin, direction, distance); | |
| 365 | +} | |
| 366 | + | |
| 363 | 367 | void StaticModelRenderer::applyTranslation(const glm::vec3& translation) { |
| 364 | 368 | _model->setTranslation(translation); |
| 365 | 369 | } |