Документация: кватернионы и версоры / Documentation: quaternions and versors
This commit is contained in:
parent
d3a9fecb67
commit
bef7ab98f4
6 changed files with 91 additions and 7 deletions
|
@ -3,8 +3,6 @@
|
|||
#include <math.h>
|
||||
#include <basic-geometry.h>
|
||||
|
||||
#define _POSIX_C_SOURCE >= 199309L
|
||||
|
||||
#ifdef _WIN64
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
@ -122,7 +120,7 @@ int main()
|
|||
}
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
int main()
|
||||
{
|
||||
const unsigned int amount = 1000000;
|
||||
|
@ -193,4 +191,14 @@ int main()
|
|||
free(versors1);
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
int main() {
|
||||
BgFP32Versor versor;
|
||||
|
||||
bg_fp32_versor_reset(&versor);
|
||||
|
||||
printf("Versor: (%f, %f, %f, %f)\n", versor.s0, versor.x1, versor.x2, versor.x3);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue