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

Method computeRatio

physx/samples/samplebase/SampleCamera.h:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 PxU32 mWindowHeight;
47
48 PX_FORCE_INLINE PxReal computeRatio() const { return PxReal(mWindowWidth)/PxReal(mWindowHeight); }
49 };
50
51 enum PlaneAABBCode

Callers 2

updateInternalsMethod · 0.80
BuildFrustumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected