Переименование типов в соответствии со стилем POSIX, отказ от префикса bg_

This commit is contained in:
Andrey Pokidov 2025-01-13 21:31:26 +07:00
parent d2a25823a5
commit 605afabd94
25 changed files with 1109 additions and 1035 deletions

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

@ -9,29 +9,172 @@
#include <time.h>
#endif // _WINDOWS_
BgFP32Vector3* allocate_vectors3(const unsigned int amount)
typedef struct {
// fp32_versor_t versor1, versor2, result;
fp32_matrix3x3_t matrix;
fp32_vector3_t vector1, vector2;
} fp32_structure_t;
fp32_structure_t* allocate_structures(const unsigned int amount)
{
return calloc(amount, sizeof(BgFP32Vector3));
return calloc(amount, sizeof(fp32_structure_t));
}