Changeset 1766 for code/branches/core3/src/util/Math.h
- Timestamp:
- Sep 11, 2008, 12:25:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/util/Math.h
r1745 r1766 55 55 } 56 56 57 _UtilExport std::ostream& operator<<(std::ostream& out, const orxonox::Radian& radian);57 _UtilExport std::ostream& operator<<(std::ostream& out, const Ogre::Radian& radian); 58 58 _UtilExport std::istream& operator>>(std::istream& in, orxonox::Radian& radian); 59 59 _UtilExport std::ostream& operator<<(std::ostream& out, const orxonox::Degree& degree); … … 128 128 return false; 129 129 } 130 131 //// ColourValue to std::string 132 //inline bool explicitConversion(std::string* output, const orxonox::ColourValue& input) 133 //{ 134 // std::ostringstream ostream; 135 // if (ostream << input.r << "," << input.g << "," << input.b << "," << input.a) 136 // { 137 // (*output) = ostream.str(); 138 // return true; 139 // } 140 // return false; 141 //} 130 142 131 143 // std::string to Vector2
Note: See TracChangeset
for help on using the changeset viewer.