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

Class TCLAPvec3

samples/SampleAssetViewer/Main.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#define DEFAULT_ASSET_LIST "assets.xml"
37
38struct 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
51struct TCLAPvec4
52{

Callers 1

wWinMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected