Реорганизация методов для версоров и тангентов

This commit is contained in:
Andrey Pokidov 2025-01-30 01:10:41 +07:00
parent 0027924f86
commit e39765b733
5 changed files with 147 additions and 247 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

@ -12,7 +12,7 @@
typedef struct { typedef struct {
BgcVersorFP32 versor1, versor2, result; BgcVersorFP32 versor1, versor2, result;
//BgcMatrix3x3FP32 matrix; //BgcMatrix3x3FP32 matrix;
BgcVector3FP32 vector1, vector2; //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)
@ -50,7 +50,7 @@ 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_matrix3x3_set_to_identity_fp32(&list[i].matrix);
/*
bgc_vector3_set_values_fp32( bgc_vector3_set_values_fp32(
rand() * multiplier - 1.0f, rand() * multiplier - 1.0f,