MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcSetGeometryTimeRange

Function rtcSetGeometryTimeRange

kernels/common/rtcore.cpp:1751–1763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1749 }
1750
1751 RTC_API void rtcSetGeometryTimeRange(RTCGeometry hgeometry, float startTime, float endTime)
1752 {
1753 Ref<Geometry> geometry = (Geometry*) hgeometry;
1754 RTC_CATCH_BEGIN;
1755 RTC_TRACE(rtcSetGeometryTimeRange);
1756 RTC_VERIFY_HANDLE(hgeometry);
1757
1758 if (startTime > endTime)
1759 throw_RTCError(RTC_ERROR_INVALID_ARGUMENT,"startTime has to be smaller or equal to the endTime");
1760
1761 geometry->setTimeRange(BBox1f(startTime,endTime));
1762 RTC_CATCH_END2(geometry);
1763 }
1764
1765 RTC_API void rtcSetGeometryVertexAttributeCount(RTCGeometry hgeometry, unsigned int N)
1766 {

Callers 2

runMethod · 0.85
commitMethod · 0.85

Calls 1

setTimeRangeMethod · 0.80

Tested by

no test coverage detected