This commit is contained in:
2025-07-14 22:24:27 +08:00
parent daacc18ecf
commit 4af19ef574
7722 changed files with 72086 additions and 0 deletions

View File

@ -0,0 +1,44 @@
#pragma once
struct VertexData
{
float x;
float y;
float z;
float _ignored1;
float u;
float v;
float _ignored2;
float _ignored3;
};
struct ShaderModelMatrix
{
ShaderModelMatrix()
{
memset(this, 0, sizeof(ShaderModelMatrix));
for (int c = 0; c < 4; c++)
{
m44[c + c * 4] = 1.0;
}
}
float m44[16];
};
struct ShaderViewMatrices
{
ShaderViewMatrices()
{
memset(this, 0, sizeof(ShaderViewMatrices));
for (int c = 0; c < 4; c++)
{
vp44[c + c * 4] = 1;
vp44_2[c + c * 4] = 1;
}
}
float vp44[16];
float vp44_2[16];
float pre_view_translation[4];
float pre_view_translation_2[4];
};