Добавление документации по трёхмерным векторам и исправления
This commit is contained in:
parent
e15070ce45
commit
02bcb1bd33
24 changed files with 593 additions and 132 deletions
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
## Library of basic geometric computations for C
|
||||
|
||||
[Версия на русском языке / Russian version](./README.md)
|
||||
[Версия на русском языке / Russian version](README.md)
|
||||
|
||||
[Documentation](docs/intro-eng.md)
|
||||
|
||||
Programming language: C (C99)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
(English: library of basic geometric computations)
|
||||
|
||||
[English version / версия на английском языке](./README-Eng.md)
|
||||
[English version / версия на английском языке](README-Eng.md)
|
||||
|
||||
[Документация](docs/intro-rus.md)
|
||||
|
||||
Язык программирования: Си (C99)
|
||||
|
||||
|
|
|
|||
|
|
@ -140,12 +140,20 @@ int main()
|
|||
//#include <stdio.h>
|
||||
//#include <basic-geometry.h>
|
||||
|
||||
int main() {
|
||||
BgcVersorFP64 versor;
|
||||
#include <stdio.h>
|
||||
#include <basic-geometry.h>
|
||||
|
||||
bgc_versor_set_values_fp64(0, 0, 0, 0, &versor);
|
||||
int main()
|
||||
{
|
||||
BgcVector3FP32 my_vector1, my_vector2;
|
||||
|
||||
printf("Versor: (%lf, %lf, %lf, %lf)\n", versor.s0, versor.x1, versor.x2, versor.x3);
|
||||