MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / TCLAPvec4

Class TCLAPvec4

samples/SampleAssetViewer/Main.cpp:51–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49};
50
51struct 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
64namespace TCLAP {
65 template<>

Callers 1

wWinMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected