Add README.md

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-03-12 10:04:09 +03:00
parent 79b0c6a155
commit 98613eff8f
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D

View file

@ -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