docs: documented 'position_T'

This commit is contained in:
antifallobst 2023-02-22 13:24:39 +01:00
parent c11d4760ff
commit 08c7f32349
1 changed files with 9 additions and 1 deletions

View File

@ -806,6 +806,14 @@ Example: `CEIL_TO(13, 8)` would return 16, because 16 is the next higher multipl
Aligns **_a_** downwards to **_b_**. Aligns **_a_** downwards to **_b_**.
Example: `FLOOR_TO(13, 8)` would return 8, because 8 is the next smaller multiple of 8 before 13. Example: `FLOOR_TO(13, 8)` would return 8, because 8 is the next smaller multiple of 8 before 13.
#### `position_T` - struct
| Name | Description |
|------|------------------------------|
| x | X coordinate of the position |
| y | Y coordinate of the position |
#### `pow(base, exponent)` - function (uint64_t) #### `pow(base, exponent)` - function (uint64_t)
Returns the power of `base ^ exponent`. Returns the power of `base ^ exponent`.
@ -887,7 +895,7 @@ Range: `-2147483648` - `2147483647`
Range: `0` - `18446744073709551616` Range: `0` - `18446744073709551616`
#### `int64_t` - typedef #### `int64_t` - typedef
64-bit wide unsigned int. 64-bit wide signed int.
Range: `-9223372036854775808` - `9223372036854775807` Range: `-9223372036854775808` - `9223372036854775807`