| 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 | { |
no outgoing calls
no test coverage detected