Удаление функций set_value для структур с открытыми полями (векторы и кватернионы)
This commit is contained in:
parent
e2bf8d28a8
commit
abf99a7126
25 changed files with 597 additions and 707 deletions
|
|
@ -2,15 +2,11 @@
|
|||
|
||||
[Русская версия / Russian version](copy-rus.md)
|
||||
|
||||
Function for **BGC_FP32_Quaternion**:
|
||||
## Function options
|
||||
|
||||
```c
|
||||
inline void bgc_fp32_quaternion_copy(BGC_FP32_Quaternion* const destination, const BGC_FP32_Quaternion* const source);
|
||||
```
|
||||
|
||||
Function for **BGC_FP64_Quaternion**:
|
||||
|
||||
```c
|
||||
inline void bgc_fp64_quaternion_copy(BGC_FP64_Quaternion* const destination, const BGC_FP64_Quaternion* const source);
|
||||
```
|
||||
|
||||
|
|
@ -25,7 +21,7 @@ destination->y = source->y;
|
|||
destination->z = source->z;
|
||||
```
|
||||
|
||||
### Parameters
|
||||
## Parameters
|
||||
|
||||
| Parameter | Direction | Description |
|
||||
| ----------- | ---------- | -------------------------------------------------------------------------------- |
|
||||
|
|
@ -34,7 +30,7 @@ destination->z = source->z;
|
|||
|
||||
The *source* and *destination* parameters must be valid pointers. The NULL (0) value is also considered invalid.
|
||||
|
||||
### Example
|
||||
## Example
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -2,15 +2,9 @@
|
|||
|
||||
[English version / Английская версия](copy-eng.md)
|
||||
|
||||
Функция для **BGC_FP32_Quaternion**:
|
||||
|
||||
```c
|
||||
inline void bgc_fp32_quaternion_copy(BGC_FP32_Quaternion* const destination, const BGC_FP32_Quaternion* const source);
|
||||
```
|
||||
|
||||
Функция для **BGC_FP64_Quaternion**:
|
||||
|
||||
```c
|
||||
inline void bgc_fp64_quaternion_copy(BGC_FP64_Quaternion* const destination, const BGC_FP64_Quaternion* const source);
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue