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

Method setTransform

kernels/common/scene_instance.cpp:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 void Instance::setTransform(const AffineSpace3fa& xfm, unsigned int timeStep)
101 {
102 if (timeStep >= numTimeSteps)
103 throw_RTCError(RTC_ERROR_INVALID_OPERATION,"invalid timestep");
104
105 local2world[timeStep] = xfm;
106 gsubtype = GTY_SUBTYPE_INSTANCE_LINEAR;
107 Geometry::update();
108 }
109
110 void Instance::setQuaternionDecomposition(const AffineSpace3ff& qd, unsigned int timeStep)
111 {

Callers 1

rtcSetGeometryTransformFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected