Roman Kretschmer
5992ec7008
Fix some mistakes
...
- start of the rsr vector was wrong because I took the wrong angle
- shortest path was always rsr because I didn't replace them properly in
the first place
5 years ago
Roman Kretschmer
88d978be8a
let rust-analyzer do it's thing
...
some reformatting to make the code more readable
5 years ago
Roman Kretschmer
7e02bc5a98
Use generic types instead of f64
5 years ago
Roman Kretschmer
5e63a6f586
Update docs
6 years ago
Roman Kretschmer
c3cfb0bf5c
Update the docs
6 years ago
Roman Kretschmer
a68159b997
Remove giant mut, rename structs
...
Renamed Vector and CircleVector to StraightPath and CirclePath to be less confusing with the euclid stuff
Use local variables instead of giant mut at the beginning of the function
Use independant arguments
6 years ago
Roman Kretschmer
39d6ec6694
Fix Angle approximation
6 years ago
Roman Kretschmer
2bbcccc905
Add radius for center circle
6 years ago
Roman Kretschmer
dde2449ffe
Add approx_eq functions
6 years ago
Roman Kretschmer
ef876c1606
Add ccc paths
6 years ago
Roman Kretschmer
ae929371e7
Update documentation
6 years ago
Roman Kretschmer
25410463bb
Add function to get the shortest path
6 years ago
Roman Kretschmer
3e123ce32b
Update lib.rs
6 years ago
Roman Kretschmer
20ea1203ba
Use thiserror
6 years ago
Roman Kretschmer
c0361d11b9
Use Impl for the RouteCSC struct
6 years ago
Roman Kretschmer
a7747c0c4c
Fix typo
6 years ago
Roman Kretschmer
6bb9dc8f8c
Use CircleVector to simplify stuff
6 years ago
David Sawatzke
ddea6ecf73
Make Angle & Point public types
6 years ago
David Sawatzke
788ace12c8
Use euclide `Point2D`
6 years ago
David Sawatzke
a80b6bc1d9
Use euclid `Angle`
6 years ago
David Sawatzke
e51114621b
Use powi instead of powf (it's faster)
6 years ago
Roman Kretschmer
75c0cdbc8e
format code with rustfmt
6 years ago
Roman Kretschmer
e907935749
Initial Commit
6 years ago