Удаление избыточных функций и небольшие исправления / Removing of extra methods and small fixes

This commit is contained in:
Andrey Pokidov 2024-11-15 19:22:54 +07:00
parent 049f09f3d4
commit 67f66e2127
6 changed files with 176 additions and 602 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

@ -365,102 +365,6 @@ static inline void dp_matrix2x2_add(const DPMatrix2x2* matrix1, const DPMatrix2x
sum->r2c2 = matrix1->r2c2 + matrix2->r2c2; sum->r2c2 = matrix1->r2c2 + matrix2->r2c2;
} }
// ==================== Add3 ==================== //
static inline void sp_matrix2x2_add3(
const SPMatrix2x2* matrix1,
const SPMatrix2x2* matrix2,
const SPMatrix2x2* matrix3,
SPMatrix2x2* sum
)
{
sum->r1c1 = matrix1->r1c1 + matrix2->r1c1 + matrix3->r1c1;
sum->r1c2 = matrix1->r1c2 + matrix2->r1c2 + matrix3->r1c2;
sum->r2c1 = matrix1->r2c1 + matrix2->r2c1 + matrix3->r2c1;
sum->r2c2 = matrix1->r2c2 + matrix2->r2c2 + matrix3->r2c2;
}
static inline void dp_matrix2x2_add3(
const DPMatrix2x2* matrix1,
const DPMatrix2x2* matrix2,
const DPMatrix2x2* matrix3,
DPMatrix2x2* sum
)
{