mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-11 22:53:35 +00:00
initial commit
This commit is contained in:
21
ScopEngine/Runtime/Includes/Renderer/ViewerData.h
git.filemode.normal_file
21
ScopEngine/Runtime/Includes/Renderer/ViewerData.h
git.filemode.normal_file
@@ -0,0 +1,21 @@
|
||||
#ifndef __SCOP_VIEWER_DATA__
|
||||
#define __SCOP_VIEWER_DATA__
|
||||
|
||||
#include <Maths/Mat4.h>
|
||||
#include <Maths/Vec3.h>
|
||||
|
||||
namespace Scop
|
||||
{
|
||||
struct ViewerData
|
||||
{
|
||||
Mat4f projection_matrix;
|
||||
Mat4f inv_projection_matrix;
|
||||
Mat4f view_matrix;
|
||||
Mat4f inv_view_matrix;
|
||||
Mat4f view_proj_matrix;
|
||||
Mat4f inv_view_proj_matrix;
|
||||
alignas(16) Vec3f camera_position;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user