| 49 | }; |
| 50 | |
| 51 | struct TCLAPvec4 |
| 52 | { |
| 53 | float x, y, z, w; |
| 54 | TCLAPvec4() :x(0), y(0), z(0), w(0){}; |
| 55 | TCLAPvec4& operator=(const std::string &inp) |
| 56 | { |
| 57 | std::istringstream stream(inp); |
| 58 | if (!(stream >> x >> y >> z >> w)) |
| 59 | throw TCLAP::ArgParseException(inp + " is not vec4"); |
| 60 | return *this; |
| 61 | } |
| 62 | }; |
| 63 | |
| 64 | namespace TCLAP { |
| 65 | template<> |