| 81 | }*/ |
| 82 | |
| 83 | void 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 | |
| 92 | void Picking::computeCameraRay(PxVec3& orig, PxVec3& dir, PxI32 x, PxI32 y) const |
| 93 | { |