Улучшение структуры документации
This commit is contained in:
parent
72b6690ad6
commit
f8f6b07c81
20 changed files with 262 additions and 156 deletions
|
|
@ -10,11 +10,13 @@ There are three units of measurement for angles in the library:
|
|||
|
||||
The units of measurement of angles are defined with an enumerated type:
|
||||
|
||||
```c
|
||||
typedef enum {
|
||||
BGC_ANGLE_UNIT_RADIANS = 1,
|
||||
BGC_ANGLE_UNIT_DEGREES = 2,
|
||||
BGC_ANGLE_UNIT_TURNS = 3
|
||||
} BgcAngleUnitEnum;
|
||||
```
|
||||
|
||||
* BGC_ANGLE_UNIT_RADIANS is for measurement of angles in radians
|
||||
* BGC_ANGLE_UNIT_DEGREES is for measurement of angles in degrees
|
||||
|
|
@ -27,9 +29,9 @@ There are two ranges of normalized angles: a signed range and an unsigned
|
|||
range.
|
||||
|
||||
The unsigned range has no negative values. The unsigned range corresponds:
|
||||
* [0, 2π) radians
|
||||
* [0, 360) degrees
|
||||
* [0, 1) turns
|
||||
* \[0, 2π) radians
|
||||
* \[0, 360) degrees
|
||||
* \[0, 1) turns
|
||||
|
||||
The signed range has both positive and negative values. The signed range
|
||||
corresponds:
|
||||
|
|
@ -39,10 +41,15 @@ corresponds:
|
|||
|
||||
The ranges of angles are defined with an enumerated type:
|
||||
|
||||
```c
|
||||
typedef enum {
|
||||
BGC_ANGLE_RANGE_UNSIGNED = 1,
|
||||
BGC_ANGLE_RANGE_SIGNED = 2
|
||||
} BgcAngleRangeEnum;
|
||||
```
|
||||
|
||||
* BGC_ANGLE_RANGE_UNSIGNED is for the unsigned range of values;
|
||||
* BGC_ANGLE_RANGE_SIGNED is for the signed range of values.
|
||||
|
||||
|
||||
[Back](intro-eng.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue