MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / gValue

Function gValue

physx/samples/samplehelloworld/SampleHelloWorld.cpp:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static void gValue(Console* console, const char* text, void* userData)
86{
87 if(!text)
88 {
89 console->out("Usage: value <float>");
90 return;
91 }
92
93 const float val = (float)::atof(text);
94 shdfnd::printFormatted("value: %f\n", val);
95}
96
97static void gExport(Console* console, const char* text, void* userData)
98{

Callers

nothing calls this directly

Calls 2

printFormattedFunction · 0.85
outMethod · 0.80

Tested by

no test coverage detected