| 91 | } |
| 92 | |
| 93 | PxVec3 Camera::getViewDir() const |
| 94 | { |
| 95 | const PxTransform& camPose = getViewMatrix(); |
| 96 | PxVec3 forward = PxMat33(camPose.q)[2]; |
| 97 | return -forward; |
| 98 | } |
| 99 | |
| 100 | void Camera::lookAt(const PxVec3& position, const PxVec3& target) |
| 101 | { |
no test coverage detected