viewport (#166)
This commit is contained in:
parent
ddd118410c
commit
052dbff3be
14
graphics/CViewport.hpp
Normal file
14
graphics/CViewport.hpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "rage/grcViewport.hpp"
|
||||||
|
|
||||||
|
struct CViewportGame
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual ~CViewportGame() = 0;
|
||||||
|
|
||||||
|
private:
|
||||||
|
char m_pad[8];
|
||||||
|
|
||||||
|
public:
|
||||||
|
rage::grcViewport viewport;
|
||||||
|
};
|
15
rage/grcViewport.hpp
Normal file
15
rage/grcViewport.hpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "vector.hpp"
|
||||||
|
|
||||||
|
namespace rage
|
||||||
|
{
|
||||||
|
struct grcViewport
|
||||||
|
{
|
||||||
|
fmatrix44 m_world;
|
||||||
|
fmatrix44 m_worldView;
|
||||||
|
fmatrix44 m_worldViewProj;
|
||||||
|
fmatrix44 m_inverseView;
|
||||||
|
fmatrix44 m_view;
|
||||||
|
fmatrix44 m_projection;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user