31 #include "Utilities/Math/Math.h" 38 float aspectRatio = 16.0f / 9.0f;
40 float zFar = 100000.0f;
42 Vector2 projectionCenter{ -0.5f };
45 mutable Matrix4x4 matrix;
46 mutable bool updateMatrix =
true;
50 mutable bool UpdateProjection =
true;
52 const Matrix4x4& GetMatrix()
const;
53 const Matrix4x4& GetProjectionMatrix()
const;
54 const Matrix4x4& GetViewMatrix()
const;
55 const Vector2& GetProjectionCenter()
const;
56 void SetProjectionCenter(
const Vector2& center);
57 void SetProjectionMatrix(
const Matrix4x4& projection);
58 void SetViewMatrix(
const Matrix4x4& view);
59 float GetZoom()
const;
60 void SetZoom(
float zoom);
61 void SetAspectRatio(
float w,
float h = 1.0f);
62 float GetAspectRatio()
const;
63 float GetZFar()
const;
64 void SetZFar(
float zFar);
65 float GetZNear()
const;
66 void SetZNear(
float zNear);
Definition: CameraBase.h:35
Definition: Application.cpp:49