Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 1 | // Conversion constants to meters |
| 2 | export const IN_TO_M = 0.0254; |
| 3 | export const FT_TO_M = 0.3048; |
| 4 | // Dimensions of the field in meters |
James Kuszmaul | b80e240 | 2023-03-10 22:25:15 -0800 | [diff] [blame] | 5 | // Numbers are slightly hand-tuned to match the PNG that we are using. |
| 6 | export const FIELD_WIDTH = 26 * FT_TO_M + 7.25 * IN_TO_M; |
| 7 | export const FIELD_LENGTH = 54 * FT_TO_M + 5.25 * IN_TO_M; |
Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 8 | |