| 2819 | } |
| 2820 | |
| 2821 | bool ShapeBase::castRayRendered(const Point3F &start, const Point3F &end, RayInfo* info) |
| 2822 | { |
| 2823 | if (mShapeInstance) |
| 2824 | { |
| 2825 | RayInfo localInfo; |
| 2826 | mShapeInstance->animate(); |
| 2827 | bool res = mShapeInstance->castRayRendered(start, end, &localInfo, mShapeInstance->getCurrentDetail()); |
| 2828 | if (res) |
| 2829 | { |
| 2830 | *info = localInfo; |
| 2831 | info->object = this; |
| 2832 | return true; |
| 2833 | } |
| 2834 | } |
| 2835 | |
| 2836 | return false; |
| 2837 | } |
| 2838 | |
| 2839 | |
| 2840 | //---------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected