# Two-dimensional vectors [Русская версия / Russian version](vector2-rus.md) There are two types of 2D vectors in the library: - **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 x, y; } BGC_FP32_Vector2; typedef struct { double x, y; } BGC_FP64_Vector2; ``` ## Functions - [Reset](vector2/reset-eng.md) - bgc_fp32_vector2_reset - bgc_fp64_vector2_reset - [Set Values](vector2/set-values-eng.md) - bgc_fp32_vector2_set_values - bgc_fp64_vector2_set_values - [Copy](vector2/copy-eng.md) - bgc_fp32_vector2_copy - bgc_fp64_vector2_copy - [Swap](vector2/swap-eng.md) - bgc_fp32_vector2_swap - bgc_fp64_vector2_swap [Documentation](intro-eng.md)