Barsonax / Pathfindax

Pathfinding framework
GNU Affero General Public License v3.0
26 stars 8 forks source link

Split GridTransformer functionality #48

Closed Barsonax closed 6 years ago

Barsonax commented 6 years ago

Summary

The functionality of the GridTransformer class should be splitted into 2 classes: -A Transformer class that simply transforms a position to local or world space -A GridTransformer class that inherits from Transformer and adds grid related transformations to this.

Lastly add unit tests that check if these classes behave properly.

Analysis

Barsonax commented 6 years ago

To properly refactor the transformer classes I decided that from now on nodepositions will be relative to the network they are in.

Barsonax commented 6 years ago

Implemented in develop