circle.nim 124 B

12345678910
  1. import
  2. ../config,
  3. vec
  4. type
  5. TCircle* = tuple[p: TV2[TR], r: TR]
  6. converter toCircle*(o: TR): TCircle =
  7. (newV2(), o)