Graceful exit

This commit is contained in:
Dynamitos
2023-12-12 11:37:00 +01:00
parent 3feb331927
commit dc28979cfd
13 changed files with 99 additions and 255 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ struct AABB
float3 min;
float pad0;
float3 max;
float3 pad1;
float pad1;
bool insideFrustum(float4x4 transform, Frustum frustum)
{
float3 corners[8];
+5 -7
View File
@@ -2,7 +2,6 @@ import AABB;
struct MeshletDescription
{
AABB boundingBox;
uint32_t vertexCount;
uint32_t primitiveCount;
uint32_t vertexOffset;
@@ -11,12 +10,11 @@ struct MeshletDescription
struct MeshData
{
AABB boundingBox;
uint numMeshlets;
uint meshletOffset;
uint firstIndex;
uint numIndices;
uint indicesOffset;
uint32_t meshletOffset = 0;
uint16_t numMeshlets = 0;
uint16_t indicesOffset = 0;
uint32_t firstIndex = 0;
uint32_t numIndices = 0;
};
static const uint MAX_VERTICES = 64;