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

Function timeStep

kernels/common/geometry.h:343–346  ·  view source on GitHub ↗

returns time that corresponds to time step */

Source from the content-addressed store, hash-verified

341
342 /* returns time that corresponds to time step */
343 __forceinline float timeStep(const int i) const {
344 assert(i>=0 && i<(int)numTimeSteps);
345 return time_range.lower + time_range.size()*float(i)/fnumTimeSegments;
346 }
347
348 /*! for all geometries */
349 public:

Callers 2

getObjectBoundsMethod · 0.70
getObjectBoundsMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected