mirror of
https://github.com/ivabus/matrix
synced 2024-12-04 22:15:07 +03:00
Add README.md
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
79b0c6a155
commit
98613eff8f
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- `matrix` - core lib (just matrix addition and multiplication)
|
- `matrix` - core lib (just matrix addition and multiplication)
|
||||||
- `matrix_graphics` - using rotation matrix to rotate things )
|
- `matrix_graphics` - using rotation matrix to rotate things (polygons by default)
|
||||||
|
|
||||||
## `matrix_graphics`
|
## `matrix_graphics`
|
||||||
|
|
||||||
|
@ -32,7 +32,8 @@ const CENTER_Y: u32 = 240;
|
||||||
// center of polygon by Y
|
// center of polygon by Y
|
||||||
const RADIUS: u32 = 100;
|
const RADIUS: u32 = 100;
|
||||||
// radius of polygon
|
// radius of polygon
|
||||||
const DEFAULT_ANGLE: f64 = 0.; //default rotation angle (in radians)
|
const DEFAULT_ANGLE: f64 = 0.;
|
||||||
|
//default rotation angle (in radians)
|
||||||
```
|
```
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
Loading…
Reference in a new issue