Исправление и расширение документации по векторам и кватернионам
This commit is contained in:
parent
460fe94830
commit
cc3ce1f327
8 changed files with 142 additions and 33 deletions
|
|
@ -26,7 +26,7 @@ vector->y = 0;
|
|||
You should pass valid pointers to these functions. The NULL (0) value is also
|
||||
considered invalid.
|
||||
|
||||
This function is good for setting up the initial state of a 3D vector.
|
||||
This function is good for setting up the initial state of a 2D vector.
|
||||
|
||||
Example of use:
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ int main()
|
|||
|
||||
bgc_fp32_vector2_reset(&my_vector);
|
||||
|
||||
printf("x = %f, y = %f\n", my_vector.x1, my_vector.x2);
|
||||
printf("x = %f, y = %f\n", my_vector.x, my_vector.y);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue