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