| 36 | #define DEFAULT_ASSET_LIST "assets.xml" |
| 37 | |
| 38 | struct TCLAPvec3 |
| 39 | { |
| 40 | float x, y, z; |
| 41 | TCLAPvec3() :x(0), y(0), z(0){}; |
| 42 | TCLAPvec3& operator=(const std::string &inp) |
| 43 | { |
| 44 | std::istringstream stream(inp); |
| 45 | if (!(stream >> x >> y >> z)) |
| 46 | throw TCLAP::ArgParseException(inp + " is not vec3"); |
| 47 | return *this; |
| 48 | } |
| 49 | }; |
| 50 | |
| 51 | struct TCLAPvec4 |
| 52 | { |