This commit is contained in:
Kbz-8
2025-06-16 15:18:27 +02:00
parent 15510fa8a7
commit cd7e5ad26f
165 changed files with 78107 additions and 0 deletions

21
Runtime/Includes/Renderer/ViewerData.h git.filemode.normal_file
View 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