ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/primitives/StuntDouble.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/primitives/StuntDouble.hpp (file contents):
Revision 1781 by tim, Mon Nov 22 20:55:52 2004 UTC vs.
Revision 1782 by tim, Wed Nov 24 20:55:03 2004 UTC

# Line 453 | Line 453 | namespace oopse{
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         /**
# Line 471 | Line 471 | namespace oopse{
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         /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines