| 29 | //----------------------------------------------------------------------------- |
| 30 | |
| 31 | SceneCameraState::SceneCameraState( const RectI& viewport, const Frustum& frustum, const MatrixF& worldView, const MatrixF& projection ) |
| 32 | : mViewport( viewport ), |
| 33 | mFrustum( frustum ), |
| 34 | mWorldViewMatrix( worldView ), |
| 35 | mHeadWorldViewMatrix( worldView ), |
| 36 | mProjectionMatrix( projection ) |
| 37 | { |
| 38 | mViewDirection = frustum.getTransform().getForwardVector(); |
| 39 | } |
| 40 | |
| 41 | //----------------------------------------------------------------------------- |
| 42 |
nothing calls this directly
no test coverage detected