blob: d6ecfaf815fe6035f459abb478e783a3d33532c7 [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001// Conversion constants to meters
2export const IN_TO_M = 0.0254;
3export const FT_TO_M = 0.3048;
4// Dimensions of the field in meters
James Kuszmaulb80e2402023-03-10 22:25:15 -08005// Numbers are slightly hand-tuned to match the PNG that we are using.
6export const FIELD_WIDTH = 26 * FT_TO_M + 7.25 * IN_TO_M;
7export const FIELD_LENGTH = 54 * FT_TO_M + 5.25 * IN_TO_M;
Maxwell Hendersonad312342023-01-10 12:07:47 -08008