mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 19:32:49 +01:00
5b9c95d346
+ Add CutsceneData structures to store the data required. + Implement screen fading in and out (todo: splash screen fading) + Add GameData::openFile2() returns a handle to open file memory + size + Fix fog implementation + Add screenspace rect to GameRenderer for fades and cinematics
22 lines
281 B
C++
22 lines
281 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, (-45.f / 180.f) * 3.1415f, 1.f})
|
|
{
|
|
|
|
}
|
|
};
|
|
|
|
#endif
|