yes
This commit is contained in:
21
Runtime/Includes/Renderer/ViewerData.h
git.filemode.normal_file
21
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