| 38 | // the camera is controlled. For example this should deal with VFC, etc. |
| 39 | |
| 40 | Camera::Camera() : |
| 41 | mProjMatrix (degtorad(45.0f), 1.0f, 1.0f, 100.0f), |
| 42 | mFOV (0.0f), |
| 43 | mNearPlane (0.0f), |
| 44 | mFarPlane (0.0f), |
| 45 | mDirtyProj (true), |
| 46 | mDirtyView (true) |
| 47 | { |
| 48 | mViewMatrix = PxTransform(PxIdentity); |
| 49 | mPos = PxVec3(0); |
| 50 | mRot = PxVec3(0); |
| 51 | |
| 52 | mDrawDebugData = false; |
| 53 | mFreezeFrustum = false; |
| 54 | mPerformVFC = true; |
| 55 | } |
| 56 | |
| 57 | Camera::~Camera() |
| 58 | { |
nothing calls this directly
no test coverage detected