Исправление функции, которая находит трёхмерных поворот между двумя парами векторов
This commit is contained in:
parent
57280ac3f3
commit
2ce4b64ca3
7 changed files with 705 additions and 467 deletions
|
|
@ -79,7 +79,7 @@ void list_work(const uint_fast32_t amount, structure_fp32_t* list)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
int main()
|
||||
{
|
||||
const unsigned int amount = 1000000;
|
||||
|
|
@ -121,7 +121,7 @@ int main()
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
int main() {
|
||||
|
|
@ -149,84 +149,84 @@ int main() {
|
|||
}
|
||||
*/
|
||||
|
||||
void test_basis_difference_fp32()
|
||||
void test_pair_difference_fp32()
|
||||
{
|
||||
|
||||
BGC_FP32_Vector3 initial_primary, initial_auxiliary;
|
||||
BGC_FP32_Vector3 final_primary, final_auxiliary;
|
||||
BGC_FP32_Vector3 initial_main, initial_branch;
|
||||
BGC_FP32_Vector3 final_main, final_branch;
|
||||
BGC_FP32_Turn3 turn;
|
||||
|
||||
// No turn
|
||||
bgc_fp32_vector3_make(&initial_primary, 1.0f, 0.0f, 0.0f);
|
||||
bgc_fp32_vector3_make(&initial_auxiliary, 0.0f, 1.0f, 0.0f);
|
||||
bgc_fp32_vector3_make(&initial_main, 1.0f, 0.0f, 0.0f);
|
||||