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

Method getCamera

kaplademo/source/kaplaDemo/SceneVehicle.cpp:972–980  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

970
971//-------------------------------------------------------------------------------------------------
972void SceneVehicle::getCamera(PxVec3& pos, PxVec3& dir)
973{
974 if (mCameraDisable)
975 {
976 pos = mCameraPos;
977 dir = mCameraDir.getNormalized();
978 }
979
980}
981
982// ----------------------------------------------------------------------------------------------
983void SceneVehicle::preSim(float dt)

Callers 10

computeCameraRayMethod · 0.45
unProjectMethod · 0.45
projectMethod · 0.45
gNearPlaneFunction · 0.45
gFarPlaneFunction · 0.45
gDrawCameraDebugFunction · 0.45
gFreezeFrustumFunction · 0.45
gVFCFunction · 0.45
PhysXSampleClass · 0.45
SetupCameraFunction · 0.45

Calls 1

getNormalizedMethod · 0.45

Tested by

no test coverage detected