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 |
|
/** |
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. |
881 |
|
}; |
882 |
|
|
883 |
|
}//end namespace oopse |
884 |
< |
#endif //PRIMITIVES_STUNTDOUBLE_HPP |
884 |
> |
#endif //PRIMITIVES_STUNTDOUBLE_HPP |