6 #include "VectorMath.h"
12 CameraState MakeDefaultCameraState();
18 const dv3& locationEcef,
19 const dv3& interestPointEcef,
20 const m44& modelToWorldMatrix,
21 const m44& viewMatrix,
22 const m44& projectionMatrix,
23 const m44& viewProjectionMatrix,
24 const m44& inverseViewProjectionMatrix,
25 const v2& viewportDimensions
30 const dv3& locationEcef,
31 const dv3& interestPointEcef,
32 const m44& viewMatrix,
33 const m44& projectionMatrix
36 const dv3& LocationEcef()
const {
return m_locationEcef; }
38 const dv3& InterestPointEcef()
const {
return m_interestPointEcef; }
40 const m44& ModelToWorldMatrix()
const {
return m_modelToWorldMatrix; }
42 const m44& ViewMatrix()
const {
return m_viewMatrix; }
44 const m44& ProjectionMatrix()
const {
return m_projectionMatrix; }
46 const m44& ViewProjectionMatrix()
const {
return m_viewProjectionMatrix; }
48 const m44& InverseViewProjectionMatrix()
const {
return m_inverseViewProjectionMatrix; }
50 const v2& ViewportDimensions()
const {
return m_viewportDimensions; }
53 dv3 m_interestPointEcef;
54 m44 m_modelToWorldMatrix;
56 m44 m_projectionMatrix;
57 m44 m_viewProjectionMatrix;
58 m44 m_inverseViewProjectionMatrix;
59 v2 m_viewportDimensions;