Улучшение читаемости примеров для векторов, добавление описания функций copy и swap для кватернионов

This commit is contained in:
Andrey Pokidov 2026-03-30 01:48:07 +07:00
parent cc3ce1f327
commit f402f68516
22 changed files with 325 additions and 77 deletions

View file

@ -40,11 +40,11 @@ Example of use:
int main()
{
BGC_FP32_Vector3 my_vector;
BGC_FP32_Vector3 v;
bgc_fp32_vector3_set_values(&my_vector, -2.2f, 7.1f, 10.01f);
bgc_fp32_vector3_set_values(&v, -2.2f, 7.1f, 10.01f);
printf("x = %f, y = %f, z = %f\n", my_vector.x, my_vector.y, my_vector.z);
printf("x = %f, y = %f, z = %f\n", v.x, v.y, v.z);
return 0;
}