Улучшение читаемости примеров для векторов, добавление описания функций copy и swap для кватернионов
This commit is contained in:
parent
cc3ce1f327
commit
f402f68516
22 changed files with 325 additions and 77 deletions
|
|
@ -39,11 +39,11 @@ Example of use:
|
|||
|
||||
int main()
|
||||
{
|
||||
BGC_FP32_Vector2 my_vector;
|
||||
BGC_FP32_Vector2 v;
|
||||
|
||||
bgc_fp32_vector2_set_values(&my_vector, -2.2f, 7.1f);
|
||||
bgc_fp32_vector2_set_values(&v, -2.2f, 7.1f);
|
||||
|
||||
printf("x = %f, y = %f\n", my_vector.x, my_vector.y);
|
||||
printf("x = %f, y = %f\n", v.x, v.y);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue