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

Method tick

physx/samples/samplebase/Picking.cpp:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}*/
82
83void Picking::tick()
84{
85 if(mMouseJoint)
86 moveActor(mMouseScreenX,mMouseScreenY);
87
88 // PT: delete mouse actor one frame later to avoid crashes
89 SAFE_RELEASE(mMouseActorToDelete);
90}
91
92void Picking::computeCameraRay(PxVec3& orig, PxVec3& dir, PxI32 x, PxI32 y) const
93{

Callers 1

PhysXSample.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected