Удаление избыточных функций и небольшие исправления / Removing of extra methods and small fixes
This commit is contained in:
parent
049f09f3d4
commit
67f66e2127
6 changed files with 176 additions and 602 deletions
184
src/matrix2x2.h
184
src/matrix2x2.h
|
|
@ -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
|
|
||||||
)
|
|
||||||
{
|
|
||||||