mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
viewport (#166)
This commit is contained in:
parent
9c51660b0f
commit
63d06ef953
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