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

Function gFarPlane

physx/samples/samplebase/PhysXSampleApplication.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108static void gFarPlane(Console* console, const char* text, void* userData)
109{
110 if(!text)
111 {
112 console->out("Usage: farplane <float>");
113 return;
114 }
115
116 const float val = (float)::atof(text);
117 gBase->getCamera().setFarPlane(val);
118}
119
120static void gDrawCameraDebug(Console* console, const char* text, void* userData)
121{

Callers

nothing calls this directly

Calls 3

outMethod · 0.80
setFarPlaneMethod · 0.80
getCameraMethod · 0.45

Tested by

no test coverage detected