1.3 KiB
1.3 KiB
Three-dimensional vectors
Ðóññêàÿ âåðñèÿ / Russian version
There are two types of 3D vectors in the library:
- BGC_FP32_Vector3 - vector using single-precision floating-point numbers
- BGC_FP64_Vector3 - vector using double-precision floating-point numbers
Structure definitions:
typedef struct
{
float x, y, z;
} BGC_FP32_Vector3;
typedef struct
{
double x, y, z;
} BGC_FP64_Vector3;
Functions
| Funtions for BGC_FP32_Vector3 | Funtions for BGC_FP64_Vector3 |
|---|---|
| bgc_fp32_vector3_reset | bgc_fp64_vector3_reset |
| bgc_fp32_vector3_set_values | bgc_fp64_vector3_set_values |
| bgc_fp32_vector3_copy | bgc_fp64_vector3_copy |
| bgc_fp32_vector3_swap | bgc_fp64_vector3_swap |