Переименование s0 -> s, x1 -> x, x2 -> y, x3 -> z, что должно упростить читаемость кода. Также обновление документации
This commit is contained in:
parent
d83ab7160d
commit
b8d383da33
38 changed files with 2104 additions and 2070 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue