Обновление документации по векторам и кватернионам
This commit is contained in:
parent
b8d383da33
commit
2fd2578bb3
20 changed files with 101 additions and 490 deletions
|
|
@ -1,31 +1,33 @@
|
|||
# Two-dimensional vectors
|
||||
|
||||
[Ðóññêàÿ âåðñèÿ / Russian version](vector2-rus.md)
|
||||
|
||||
There are two types of 2D vectors in the library:
|
||||
- **BgcVector2FP32** - vector using single-precision floating-point numbers
|
||||
- **BgcVector2FP64** - vector using double-precision floating-point numbers
|
||||
- **BGC_FP32_Vector2** - vector using single-precision floating-point numbers
|
||||
- **BGC_FP64_Vector2** - vector using double-precision floating-point numbers
|
||||
|
||||
Structure definitions:
|
||||
|
||||
```c
|
||||
typedef struct
|
||||
{
|
||||
float x1, x2;
|
||||
} BgcVector2FP32;
|
||||
float x, y;
|
||||
} BGC_FP32_Vector2;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double x1, x2;
|
||||
} BgcVector2FP64;
|
||||
double x, y;
|
||||
} BGC_FP64_Vector2;
|
||||
```
|
||||
|
||||
## Functions
|
||||
|
||||
| Funtions for BgcVector2FP32 | Funtions for BgcVector2FP64 |
|
||||
| Funtions for BGC_FP32_Vector2 | Funtions for BGC_FP64_Vector2 |
|
||||
|:-------------------------------------------------------------:|:-------------------------------------------------------------:|
|
||||
| [bgc_vector2_reset_fp32](vector2/reset-eng.md) | [bgc_vector2_reset_fp64](vector2/reset-eng.md) |
|
||||
| [bgc_vector2_set_values_fp32](vector2/set-values-eng.md) | [bgc_vector2_set_values_fp64](vector2/set-values-eng.md) |
|
||||
| [bgc_vector2_copy_fp32](vector2/copy-eng.md) | [bgc_vector2_copy_fp64](vector2/copy-eng.md) |
|
||||
| [bgc_vector2_swap_fp32](vector2/swap-eng.md) | [bgc_vector2_swap_fp64](vector2/swap-eng.md) |
|
||||
| [bgc_fp32_vector2_reset](vector2/reset-eng.md) | [bgc_fp64_vector2_reset](vector2/reset-eng.md) |
|
||||
| [bgc_fp32_vector2_set_values](vector2/set-values-eng.md) | [bgc_fp64_vector2_set_values](vector2/set-values-eng.md) |
|
||||
| [bgc_fp32_vector2_copy](vector2/copy-eng.md) | [bgc_fp64_vector2_copy](vector2/copy-eng.md) |
|
||||
| [bgc_fp32_vector2_swap](vector2/swap-eng.md) | [bgc_fp64_vector2_swap](vector2/swap-eng.md) |
|
||||
|
||||
|
||||
[Documentation](intro-eng.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue