Переход на версию 0.3: изменение подхода к именованию сущностей, добавление, изменение и удаление ряда функций
This commit is contained in:
parent
d33daf4e2d
commit
f7e41645fe
87 changed files with 4580 additions and 4051 deletions
|
|
@ -7,7 +7,7 @@
|
|||
// ==================== FP32 ==================== //
|
||||
|
||||
static const int _TEST_FP32_VERSOR_AMOUNT = 8;
|
||||
static const BgcVersorFP32 _TEST_FP32_VERSOR_LIST[] = {
|
||||
static const BGC_FP32_Versor _TEST_FP32_VERSOR_LIST[] = {
|
||||
{ 1.0f, 0.0f, 0.0f, 0.0f },
|
||||
{ -1.0f, 0.0f, 0.0f, 0.0f },
|
||||
{ 0.182574185835f, 0.36514837167f, 0.54772255751f, 0.73029674334f },
|
||||
|
|
@ -20,13 +20,13 @@ static const BgcVersorFP32 _TEST_FP32_VERSOR_LIST[] = {
|
|||
|
||||
void test_versor_copy_fp32()
|
||||
{
|
||||
BgcVersorFP32 versor;
|
||||
BGC_FP32_Versor versor;
|
||||
|
||||
print_testing_name("bgc_versor_copy_fp32");
|
||||
print_testing_name("bgc_fp32_versor_copy");
|
||||
|
||||
for (int i = 0; i < _TEST_FP32_VERSOR_AMOUNT; i++) {
|
||||
|
||||
bgc_versor_copy_fp32(&_TEST_FP32_VERSOR_LIST[i], &versor);
|
||||
bgc_fp32_versor_copy(&_TEST_FP32_VERSOR_LIST[i], &versor);
|
||||
|
||||
if (versor._s0 != _TEST_FP32_VERSOR_LIST[i]._s0 ||
|
||||
versor._x1 != _TEST_FP32_VERSOR_LIST[i]._x1 ||
|
||||
|
|
@ -43,7 +43,7 @@ void test_versor_copy_fp32()
|
|||
// ==================== FP64 ==================== //
|
||||
|
||||
static const int _TEST_FP64_VERSOR_AMOUNT = 8;
|
||||
static const BgcVersorFP64 _TEST_FP64_VERSOR_LIST[] = {
|
||||
static const BGC_FP64_Versor _TEST_FP64_VERSOR_LIST[] = {
|
||||
{ 1.0f, 0.0f, 0.0f, 0.0f },
|
||||
{ -1.0f, 0.0f, 0.0f, 0.0f },
|
||||
{ 0.1825741858350553712, 0.3651483716701107423, 0.5477225575051661135, 0.7302967433402214846 },
|
||||
|
|
@ -56,13 +56,13 @@ static const BgcVersorFP64 _TEST_FP64_VERSOR_LIST[] = {
|
|||
|
||||
void test_versor_copy_fp64()
|
||||
{
|
||||
BgcVersorFP64 versor;
|
||||
BGC_FP64_Versor versor;
|
||||
|
||||
print_testing_name("bgc_versor_copy_fp64");
|
||||
print_testing_name("bgc_fp64_versor_copy");
|
||||
|
||||
for (int i = 0; i < _TEST_FP64_VERSOR_AMOUNT; i++) {
|
||||
|
||||
bgc_versor_copy_fp64(&_TEST_FP64_VERSOR_LIST[i], &versor);
|
||||
bgc_fp64_versor_copy(&_TEST_FP64_VERSOR_LIST[i], &versor);
|
||||
|
||||
if (versor._s0 != _TEST_FP64_VERSOR_LIST[i]._s0 ||
|
||||
versor._x1 != _TEST_FP64_VERSOR_LIST[i]._x1 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue