Lugdunum
0.1.0
include
lug
Graphics
Render
Camera
Orthographic.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/Graphics/Render/Camera/Camera.hpp
>
4
5
namespace
lug
{
6
namespace
Graphics {
7
8
namespace
Builder {
9
class
Camera;
10
}
// Builder
11
12
namespace
Render {
13
namespace
Camera {
14
15
class
LUG_GRAPHICS_API
Orthographic
:
public
Camera
{
16
friend
class
Builder::Camera
;
17
18
public
:
19
Orthographic
(
const
Orthographic
&) =
delete
;
20
Orthographic
(
Orthographic
&&) =
delete
;
21
22
Orthographic
& operator=(
const
Orthographic
&) =
delete
;
23
Orthographic
& operator=(
Orthographic
&&) =
delete
;
24
25
~
Orthographic
() =
default
;
26
27
float
getXMag()
const
;
28
void
setXMag(
float
xmag);
29
30
float
getYMag()
const
;
31
void
setYMag(
float
ymag);
32
33
protected
:
34
explicit
Orthographic
(
const
std::string& name);
35
36
void
updateProj() override final;
37
38
private:
39
float
_xmag{0.0f};
40
float
_ymag{0.0f};
41
};
42
43
#include <
lug/Graphics/Render/Camera/Orthographic.inl
>
44
45
}
// Camera
46
}
// Render
47
}
// Graphics
48
}
// lug
Camera.hpp
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Render::Camera::Camera
Class for camera.
Definition:
Camera.hpp:30
Orthographic.inl
lug
Definition:
Application.hpp:11
lug::Graphics::Render::Camera::Orthographic
Definition:
Orthographic.hpp:15
lug::Graphics::Builder::Camera
Definition:
Camera.hpp:16
Generated by
1.8.13