fixed it!!!!

This commit is contained in:
2025-11-22 17:12:33 +01:00
parent 7a8efd8e5e
commit 2b410eee24
8 changed files with 90 additions and 90 deletions

View File

@@ -11,7 +11,7 @@ DefineList(MismatchData, MismatchData);
void test() {
{
Space space = {};
VoxelSpace space = {};
space.space=23ull;
space.dim_x=3;
space.dim_y=3;
@@ -50,7 +50,7 @@ void test() {
};
{
Space space1 = {};
VoxelSpace space1 = {};
space1.space=172ull;
space1.dim_x=3;
space1.dim_y=3;
@@ -68,14 +68,14 @@ void test() {
{
Arena *arena = arenaAlloc(Megabytes(64));
Space space1 = {};
VoxelSpace space1 = {};
space1.space=30ull;
space1.dim_x=3;
space1.dim_y=3;
space1.dim_z=3;
VoxelSpaceList rotations = getUniqueRotations(arena, &space1);
Space expected_rots[] = {
VoxelSpace expected_rots[] = {
{ 30ull, 1, 2, 3 },
{ 45ull, 1, 3, 2 },
{ 30ull, 3, 2, 1 },
@@ -104,7 +104,7 @@ void test() {
{
Arena *arena = arenaAlloc(Megabytes(64));
Space space1 = {};
VoxelSpace space1 = {};
space1.space=30ul;
space1.dim_x=3;
space1.dim_y=3;
@@ -199,19 +199,19 @@ void test() {
}
{
Space space1 = {};
VoxelSpace space1 = {};
space1.space=30ull;
space1.dim_x=3;
space1.dim_y=3;
space1.dim_z=3;
Space space2 = {};
VoxelSpace space2 = {};
space2.space=30ull;
space2.dim_x=3;
space2.dim_y=3;
space2.dim_z=3;
Space space3 = {};
VoxelSpace space3 = {};
space3.space=30ull;
space3.dim_x=3;
space3.dim_y=3;
@@ -230,7 +230,7 @@ void test() {
int dims[] = {3, 3, 3};
Space space1 = {};
VoxelSpace space1 = {};
space1.space=30ull;
space1.dim_x=3;
space1.dim_y=3;
@@ -246,7 +246,7 @@ void test() {
62914560ull,
};
Space space2 = {};
VoxelSpace space2 = {};
space2.space=23ul;
space2.dim_x=3;
space2.dim_y=3;
@@ -262,7 +262,7 @@ void test() {
48234496ull,
};
Space space3 = {};
VoxelSpace space3 = {};
space3.space=15ull;
space3.dim_x=3;
space3.dim_y=3;