856 B
856 B
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;
The fields x, y and z are the coordinates of a 3D vector.
Functions
-
- bgc_fp32_vector3_reset
- bgc_fp64_vector3_reset
-
- bgc_fp32_vector3_copy
- bgc_fp64_vector3_copy
-
- bgc_fp32_vector3_swap
- bgc_fp64_vector3_swap