| 1798 | } |
| 1799 | |
| 1800 | RTC_API void rtcSetGeometryMaxRadiusScale(RTCGeometry hgeometry, float maxRadiusScale) |
| 1801 | { |
| 1802 | Geometry* geometry = (Geometry*) hgeometry; |
| 1803 | RTC_CATCH_BEGIN; |
| 1804 | RTC_TRACE(rtcSetGeometryMaxRadiusScale); |
| 1805 | RTC_VERIFY_HANDLE(hgeometry); |
| 1806 | #if RTC_MIN_WIDTH |
| 1807 | if (maxRadiusScale < 1.0f) throw_RTCError(RTC_ERROR_INVALID_OPERATION,"maximal radius scale has to be larger or equal to 1"); |
| 1808 | geometry->setMaxRadiusScale(maxRadiusScale); |
| 1809 | #else |
| 1810 | throw_RTCError(RTC_ERROR_INVALID_OPERATION,"min-width feature is not enabled"); |
| 1811 | #endif |
| 1812 | RTC_CATCH_END2(geometry); |
| 1813 | } |
| 1814 | |
| 1815 | RTC_API void rtcSetGeometryMask (RTCGeometry hgeometry, unsigned int mask) |
| 1816 | { |
no test coverage detected