Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ViewportCamera.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/primitive_type.h>
4#include <Math/Transform/TDecomposedTransform.h>
5#include <Math/TVector2.h>
6
7namespace ph::editor
8{
9
10class ViewportCamera final
11{
12public:
18
20
21private:
22 EType m_type;
23 math::TDecomposedTransform<real> m_transform;
24 real m_fov;
25 real m_nearClippingDistance;
26 real m_farClippingDistance;
27 math::Vector2S m_resolution;
28};
29
30}// end namespace ph::editor
Definition ViewportCamera.h:11
EType
Definition ViewportCamera.h:14
@ Orthographic
Definition ViewportCamera.h:16
@ Perspective
Definition ViewportCamera.h:15
ViewportCamera()
Definition ViewportCamera.cpp:8
Definition ph_editor.h:10