COrthographicCamera.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "CCamera.h"
5 
6 
7 namespace ion
8 {
9  namespace Scene
10  {
11 
13  {
14 
15  public:
16 
17  COrthographicCamera(float const Size, float const AspectRatio);
18  COrthographicCamera(float const left, float const right, float const bottom, float const top);
19 
20  float GetTop() const;
21  float GetBottom() const;
22  float GetLeft() const;
23  float GetRight() const;
24 
25  void SetTop(float const top);
26  void SetBottom(float const bottom);
27  void SetLeft(float const left);
28  void SetRight(float const right);
29 
31  void Update();
32 
33  protected:
34 
35  float Top, Bottom, Left, Right;
36 
37  };
38 
39  }
40 }
COrthographicCamera(float const Size, float const AspectRatio)
Definition: COrthographicCamera.cpp:10
float GetBottom() const
Definition: COrthographicCamera.cpp:43
float GetLeft() const
Definition: COrthographicCamera.cpp:33
float Bottom
Definition: COrthographicCamera.h:35
float Left
Definition: COrthographicCamera.h:35
void SetTop(float const top)
Definition: COrthographicCamera.cpp:63
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
float GetRight() const
Definition: COrthographicCamera.cpp:38
void RecalculateProjectionMatrix()
Definition: COrthographicCamera.cpp:22
Definition: COrthographicCamera.h:12
void SetRight(float const right)
Definition: COrthographicCamera.cpp:53
Definition: CCamera.h:12
void SetBottom(float const bottom)
Definition: COrthographicCamera.cpp:68
void Update()
Definition: COrthographicCamera.cpp:27
float Right
Definition: COrthographicCamera.h:35
float GetTop() const
Definition: COrthographicCamera.cpp:48
float Top
Definition: COrthographicCamera.h:35
void SetLeft(float const left)
Definition: COrthographicCamera.cpp:58