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

Method getScreenWidth

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

Source from the content-addressed store, hash-verified

69 PX_FORCE_INLINE PxReal getNearPlane() const { return mNearPlane; }
70 PX_FORCE_INLINE PxReal getFarPlane() const { return mFarPlane; }
71 PX_FORCE_INLINE PxU32 getScreenWidth() const { return mViewport.mClientWidth; }
72 PX_FORCE_INLINE PxU32 getScreenHeight() const { return mViewport.mClientHeight; }
73
74 PX_FORCE_INLINE void setFOV(PxReal fov) { mFOV = fov; mDirtyProj = true; }

Callers 2

customizeRenderMethod · 0.80
customizeRenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected