mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-08 11:52:57 +01:00
21 lines
259 B
C++
21 lines
259 B
C++
#ifndef _VIEWCAMERA_HPP_
|
|
#define _VIEWCAMERA_HPP_
|
|
#include "ViewFrustum.hpp"
|
|
#include <glm/gtc/quaternion.hpp>
|
|
|
|
class ViewCamera
|
|
{
|
|
public:
|
|
|
|
ViewFrustum frustum;
|
|
|
|
glm::vec3 worldPos;
|
|
|
|
ViewCamera()
|
|
: frustum({0.1f, 5000.f, 80.f, 1.f})
|
|
{
|
|
|
|
}
|
|
};
|
|
|
|
#endif |