Большое переименование
This commit is contained in:
parent
e354b2425c
commit
e7616ae80c
30 changed files with 1356 additions and 1348 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<CodeBlocks_layout_file>
|
<CodeBlocks_layout_file>
|
||||||
<FileVersion major="1" minor="0" />
|
<FileVersion major="1" minor="0" />
|
||||||
<ActiveTarget name="Debug" />
|
<ActiveTarget name="Release" />
|
||||||
<File name="main.c" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
<File name="main.c" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||||
<Cursor>
|
<Cursor>
|
||||||
<Cursor1 position="3793" topLine="116" />
|
<Cursor1 position="3793" topLine="116" />
|
||||||
|
|
|
||||||
42
dev/main.c
42
dev/main.c
|
|
@ -9,36 +9,36 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#endif // _WINDOWS_
|
#endif // _WINDOWS_
|
||||||
|
|
||||||
SPVersor * allocate_versors(const unsigned int amount)
|
BgFP32Versor * allocate_versors(const unsigned int amount)
|
||||||
{
|
{
|
||||||
return calloc(amount, sizeof(SPVersor));
|
return calloc(amount, sizeof(BgFP32Versor));
|
||||||
}
|
}
|
||||||
|
|
||||||
SPVersor * make_zero_versors(const unsigned int amount)
|
BgFP32Versor * make_zero_versors(const unsigned int amount)
|
||||||
{
|
{
|
||||||
SPVersor * list = allocate_versors(amount);
|
BgFP32Versor * list = allocate_versors(amount);
|
||||||
|
|
||||||
if (list == 0) {
|
if (list == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned int i = 0; i < amount; i++) {
|
for (unsigned int i = 0; i < amount; i++) {
|
||||||
sp_versor_reset(&list[i]);
|
bg_fp32_versor_reset(&list[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPVersor * make_random_versors(const unsigned int amount)
|
BgFP32Versor * make_random_versors(const unsigned int amount)
|
||||||
{
|
{
|
||||||