| 1735 | } |
| 1736 | |
| 1737 | RTC_API void rtcSetGeometryTimeStepCount(RTCGeometry hgeometry, unsigned int timeStepCount) |
| 1738 | { |
| 1739 | Geometry* geometry = (Geometry*) hgeometry; |
| 1740 | RTC_CATCH_BEGIN; |
| 1741 | RTC_TRACE(rtcSetGeometryTimeStepCount); |
| 1742 | RTC_VERIFY_HANDLE(hgeometry); |
| 1743 | |
| 1744 | if (timeStepCount > RTC_MAX_TIME_STEP_COUNT) |
| 1745 | throw_RTCError(RTC_ERROR_INVALID_ARGUMENT,"number of time steps is out of range"); |
| 1746 | |
| 1747 | geometry->setNumTimeSteps(timeStepCount); |
| 1748 | RTC_CATCH_END2(geometry); |
| 1749 | } |
| 1750 | |
| 1751 | RTC_API void rtcSetGeometryTimeRange(RTCGeometry hgeometry, float startTime, float endTime) |
| 1752 | { |
no test coverage detected