Большое переупорядочивание исходного кода

This commit is contained in:
Andrey Pokidov 2025-02-12 19:39:28 +07:00
parent fffe2be43b
commit 43bf030295
26 changed files with 1225 additions and 1137 deletions

View file

@ -27,10 +27,11 @@
<Option type="1" /> <Option type="1" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Compiler> <Compiler>
<Add option="-O2" /> <Add option="-O3" />
<Add directory="../basic-geometry" /> <Add directory="../basic-geometry" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-O3" />
<Add option="-s" /> <Add option="-s" />
<Add library="basic-geometry" /> <Add library="basic-geometry" />
<Add library="m" /> <Add library="m" />

View file

Internal server error - Personal Git Server: Beyond coding. We Forge.

500

Internal server error

Forgejo version: 11.0.1+gitea-1.22.0

@ -1,4 +1,3 @@
/*
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
@ -12,8 +11,6 @@
typedef struct { typedef struct {
BgcVersorFP32 versor1, versor2, result; BgcVersorFP32 versor1, versor2, result;
//BgcMatrix3x3FP32 matrix;
//BgcVector3FP32 vector1, vector2;
} structure_fp32_t; } structure_fp32_t;
structure_fp32_t* allocate_structures(const unsigned int amount) structure_fp32_t* allocate_structures(const unsigned int amount)
@ -49,18 +46,6 @@ structure_fp32_t* make_structures(const unsigned int amount)
); );
bgc_versor_reset_fp32(&list[i].result); bgc_versor_reset_fp32(&list[i].result);
//bgc_matrix3x3_set_to_identity_fp32(&list[i].matrix);
/*
bgc_vector3_set_values_fp32(
rand() * multiplier - 1.0f,
rand() * multiplier - 1.0f,
rand() * multiplier - 1.0f,
&list[i].vector1
);