453 |
|
* Returns the previous unit vectors of this stuntdouble |
454 |
|
* @return the unit vectors of this stuntdouble |
455 |
|
*/ |
456 |
< |
Vector3d getPrevUnitVector() { |
457 |
< |
return ((snapshotMan_->getPrevSnapshot())->*storage_).unitVector[localIndex_]; |
456 |
> |
RotMat3x3d getPrevUnitFrame() { |
457 |
> |
return ((snapshotMan_->getPrevSnapshot())->*storage_).unitFrame[localIndex_]; |
458 |
|
} |
459 |
|
|
460 |
|
/** |
461 |
|
* Returns the current unit vectors of this stuntdouble |
462 |
|
* @return the unit vectors of this stuntdouble |
463 |
|
*/ |
464 |
< |
Vector3d getUnitVector() { |
465 |
< |
return ((snapshotMan_->getCurrentSnapshot())->*storage_).unitVector[localIndex_]; |
464 |
> |
RotMat3x3d getUnitFrame() { |
465 |
> |
return ((snapshotMan_->getCurrentSnapshot())->*storage_).unitFrame[localIndex_]; |
466 |
|
} |
467 |
|
|
468 |
|
/** |
471 |
|
* @return the unit vectors of this stuntdouble |
472 |
|
* @param snapshotNo |
473 |
|
*/ |
474 |
< |
Vector3d getUnitVector(int snapshotNo) { |
475 |
< |
return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).unitVector[localIndex_]; |
474 |
> |
RotMat3x3d getUnitFrame(int snapshotNo) { |
475 |
> |
return ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).unitFrame[localIndex_]; |
476 |
|
} |
477 |
|
|
478 |
|
/** |