Changeset 853 for code/branches/core/src/util/MultiTypeMath.h
- Timestamp:
- Mar 5, 2008, 6:38:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/util/MultiTypeMath.h
r848 r853 59 59 inline MultiTypeMath(const orxonox::Radian& value) { this->setValue(value); } 60 60 inline MultiTypeMath(const orxonox::Degree& value) { this->setValue(value); } 61 MultiTypeMath(const MultiTypeMath& mtm);61 inline MultiTypeMath(const MultiTypeMath& mtm) { this->setValue(mtm); } 62 62 63 63 using MultiTypeString::operator=; … … 68 68 inline MultiTypeMath& operator=(const orxonox::Radian& value) { this->setValue(value); return *this; } 69 69 inline MultiTypeMath& operator=(const orxonox::Degree& value) { this->setValue(value); return *this; } 70 MultiTypeMath& operator=(const MultiTypeMath& mtm);70 inline MultiTypeMath& operator=(const MultiTypeMath& mtm) { this->setValue(mtm); return *this; } 71 71 72 72 using MultiTypeString::operator==; … … 97 97 using MultiTypeString::setValue; 98 98 inline void setValue(const orxonox::Vector2& value) { this->type_ = MT_vector2; this->vector2_ = value; } 99 inline void setValue(const orxonox::Vector3& value) { this->type_ = MT_vector3; this->vector3_ = value; }99 inline void setValue(const orxonox::Vector3& value) { std::cout << "4_4: setValue Vector3: " << value << std::endl; this->type_ = MT_vector3; this->vector3_ = value; } 100 100 inline void setValue(const orxonox::ColourValue& value) { this->type_ = MT_colourvalue; this->colourvalue_ = value; } 101 101 inline void setValue(const orxonox::Quaternion& value) { this->type_ = MT_quaternion; this->quaternion_ = value; }
Note: See TracChangeset
for help on using the changeset viewer.