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

Method setQuaternionDecomposition

kernels/common/scene_instance.cpp:110–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 void Instance::setQuaternionDecomposition(const AffineSpace3ff& qd, unsigned int timeStep)
111 {
112 if (timeStep >= numTimeSteps)
113 throw_RTCError(RTC_ERROR_INVALID_OPERATION,"invalid timestep");
114
115 local2world[timeStep] = qd;
116 gsubtype = GTY_SUBTYPE_INSTANCE_QUATERNION;
117 Geometry::update();
118 }
119
120 AffineSpace3fa Instance::getTransform(float time)
121 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected