Переименование s0 -> s, x1 -> x, x2 -> y, x3 -> z, что должно упростить читаемость кода. Также обновление документации

This commit is contained in:
Andrey Pokidov 2026-03-29 22:06:01 +07:00
parent d83ab7160d
commit b8d383da33
38 changed files with 2104 additions and 2070 deletions

View file

@ -1,21 +1,21 @@
# Three-dimensional vectors
There are two types of 3D vectors in the library:
- **BgcVector3FP32** - vector using single-precision floating-point numbers
- **BgcVector3FP64** - vector using double-precision floating-point numbers
- **BGC_FP32_Vector3** - vector using single-precision floating-point numbers
- **BGC_FP64_Vector3** - vector using double-precision floating-point numbers
Structure definitions:
```c
typedef struct
{
float x1, x2, x3;
} BgcVector3FP32;
float x, y, z;
} BGC_FP32_Vector3;
typedef struct
{
double x1, x2, x3;
} BgcVector3FP64;
double x, y, z;
} BGC_FP64_Vector3;
```
## Functions