Обновление документации по векторам и кватернионам
This commit is contained in:
parent
2fd2578bb3
commit
460fe94830
20 changed files with 237 additions and 138 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Copying
|
||||
|
||||
[Ðóññêàÿ âåðñèÿ / Russian version](copy-rus.md)
|
||||
[Русская версия / Russian version](copy-rus.md)
|
||||
|
||||
The copy functions allow you to copy the coordinate values of one vector
|
||||
to another vector.
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
# Resetting the state of a 3D vector
|
||||
|
||||
[Ðóññêàÿ âåðñèÿ / Russian version](reset-rus.md)
|
||||
[Русская версия / Russian version](reset-rus.md)
|
||||
|
||||
These functions set all coordinates of 3D vectors to 0.
|
||||
|
||||
Function for **BGC_FP32_Vector3**:
|
||||
|
||||
```c
|
||||
inline void bgc_fp32_vector3_reset(BGC_FP32_Vector3* vector);
|
||||
inline void bgc_fp32_vector3_reset(BGC_FP32_Vector3* const vector);
|
||||
```
|
||||
|
||||
Function for **BGC_FP64_Vector3**:
|
||||
|
||||
```c
|
||||
inline void bgc_fp64_vector3_reset(BGC_FP64_Vector3* vector);
|
||||
inline void bgc_fp64_vector3_reset(BGC_FP64_Vector3* const vector);
|
||||
```
|
||||
|
||||
Each of these functions is equivalent to the following lines of code:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Setting the coordinates of a three-dimensional vector
|
||||
|
||||
[Ðóññêàÿ âåðñèÿ / Russian version](set-values-rus.md)
|
||||
[Русская версия / Russian version](set-values-rus.md)
|
||||
|
||||
You can set the coordinates of vectors either directly or using functions.
|
||||
The functions for setting coordinate values allow you to do this in one line.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Swapping
|
||||
|
||||
[Ðóññêàÿ âåðñèÿ / Russian version](swap-rus.md)
|
||||
[Русская версия / Russian version](swap-rus.md)
|
||||
|
||||
The exchange functions allow two vectors of the same type to exchange coordinate
|
||||
values.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue