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 1879 by tim, Fri Dec 3 22:36:06 2004 UTC vs.
Revision 1880 by tim, Thu Dec 9 23:15:16 2004 UTC

# Line 384 | Line 384 | namespace oopse{
384           * @note actual storage data is rotation matrix
385           */        
386         void setPrevQ(const Quat4d& q) {
387 <            ((snapshotMan_->getPrevSnapshot())->*storage_).aMat[localIndex_] = q;
387 >            setPrevA(q);
388         }
389        
390         /**
# Line 393 | Line 393 | namespace oopse{
393           * @note actual storage data is rotation matrix
394           */        
395          void setQ(const Quat4d& q) {
396 <            ((snapshotMan_->getCurrentSnapshot())->*storage_).aMat[localIndex_] = q;
396 >            setA(q);
397          }
398  
399         /**
# Line 404 | Line 404 | namespace oopse{
404           * @note actual storage data is rotation matrix
405           */        
406          void setQ(const Quat4d& q, int snapshotNo) {
407 <            ((snapshotMan_->getSnapshot(snapshotNo))->*storage_).aMat[localIndex_] = q;
407 >            setA(q, snapshotNo);
408          }
409  
410         /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines