bgc-c/docs/vector3-rus.md

34 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Трёхмерные векторы векторы
[English version / Английская версия](vector3-eng.md)
В библиотеке есть два типа трёхмерных векторов:
- **BGC_FP32_Vector3** - вектор с использованием чисел с плавающей запятой
одинарной точности
- **BGC_FP64_Vector3** - вектор с использованием чисел с плавающей запятой
двойной точности
Определения структур:
```c
typedef struct
{
float x, y, z;
} BGC_FP32_Vector3;
typedef struct
{
double x, y, z;
} BGC_FP64_Vector3;
```
## Функции
| Функции для BGC_FP32_Vector3 | Функции для BGC_FP64_Vector3 |
|:-------------------------------------------------------------:|:-------------------------------------------------------------:|
| [bgc_fp32_vector3_reset](vector3/reset-rus.md) | [bgc_fp64_vector3_reset](vector3/reset-rus.md) |
| [bgc_fp32_vector3_set_values](vector3/set-values-rus.md) | [bgc_fp64_vector3_set_values](vector3/set-values-rus.md) |
| [bgc_fp32_vector3_copy](vector3/copy-rus.md) | [bgc_fp64_vector3_copy](vector3/copy-rus.md) |
| [bgc_fp32_vector3_swap](vector3/swap-rus.md) | [bgc_fp64_vector3_swap](vector3/swap-rus.md) |
[Документация](intro-rus.md)