1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwengine/include/render/ViewCamera.hpp

22 lines
281 B
C++
Raw Normal View History

2013-07-02 09:53:23 +02:00
#ifndef _VIEWCAMERA_HPP_
#define _VIEWCAMERA_HPP_
#include "ViewFrustum.hpp"
#include <glm/gtc/quaternion.hpp>
class ViewCamera
{
public:
ViewFrustum frustum;
2013-07-02 14:49:20 +02:00
glm::vec3 worldPos;
2014-06-15 03:12:45 +02:00
2013-07-02 09:53:23 +02:00
ViewCamera()
: frustum({0.1f, 5000.f, (-45.f / 180.f) * 3.1415f, 1.f})
2013-07-02 09:53:23 +02:00
{
}
};
2014-06-15 03:12:45 +02:00
#endif