Maxwell Henderson | c3d063a | 2023-12-26 17:37:22 -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 | ||||
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; | ||||
8 |