Factorio-Access / FactorioAccess

An accessibility mod for the video game Factorio, making the game accessible to the blind and visually impaired.
Other
22 stars 9 forks source link

Rail building code cleanup: Left and right turns 45 degrees #258

Open LevFendi opened 1 month ago

LevFendi commented 1 month ago
  1. Build lookup tables for the angles and positions of the 2 curved rails and 1 diagonal rail involved for every case
  2. Modify the builder functions to use the lookup tables.
ahicks92 commented 6 days ago

This seems no longer valid as 2.0 rails will be 22.5. Closing for now.

LevFendi commented 5 days ago

Were we not going to assume that syntrax would not concern itself with half diagonals? Either way, this effort is meant to make the necessary lookup tables for it.