bgc-c/docs/vector2-eng.md

24 lines
440 B
Markdown

# Two dimensional vectors
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
Structure definitions:
```c
typedef struct
{
float x1, x2;
} BgcVector2FP32;
typedef struct
{
double x1, x2;
} BgcVector2FP64;
```
## Functions
[Back](intro-eng.md)