Changeset 1768 for code/branches/core3/src/util/Math.h
- Timestamp:
- Sep 11, 2008, 4:40:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/util/Math.h
r1766 r1768 70 70 71 71 // Vector2 to std::string 72 inline bool explicitConversion(std::string* output, const orxonox::Vector2& input)73 {74 std::ostringstream ostream;75 if (ostream << input.x << "," << input.y)76 {77 (*output) = ostream.str();78 return true;79 }80 return false;81 }72 //inline bool explicitConversion(std::string* output, const orxonox::Vector2& input) 73 //{ 74 // std::ostringstream ostream; 75 // if (ostream << input.x << "," << input.y) 76 // { 77 // (*output) = ostream.str(); 78 // return true; 79 // } 80 // return false; 81 //} 82 82 83 83 // Vector3 to std::string
Note: See TracChangeset
for help on using the changeset viewer.