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

Comparing branches/new_design/OOPSE-4/src/primitives/StuntDouble.hpp (file contents):
Revision 1842 by tim, Thu Dec 2 03:12:25 2004 UTC vs.
Revision 1843 by tim, Fri Dec 3 21:30:30 2004 UTC

# Line 81 | Line 81 | namespace oopse{
81           * Sets the global index of this stuntdouble.
82           * @param new global index to be set
83           */
84 <        int setGlobalIndex(int index) {
85 <            return globalIndex_;
84 >        void setGlobalIndex(int index) {
85 >             globalIndex_ = index;
86          }
87          
88          /**
# Line 792 | Line 792 | namespace oopse{
792           * @return body fixed vector
793           * @param v lab fixed vector
794           */
795 <        Vector3d lab2Body(const Vector3d& v);
795 >        Vector3d lab2Body(const Vector3d& v) {
796 >            return getA() * v;
797 >        }
798  
799          /**
800           * Converts a body fixed vector to a lab fixed vector.
# Line 879 | Line 881 | namespace oopse{
881   };
882  
883   }//end namespace oopse
884 < #endif //PRIMITIVES_STUNTDOUBLE_HPP
884 > #endif //PRIMITIVES_STUNTDOUBLE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines