Model trainer: mouse click handler (prints normalized vector from planet's center)

[?]
Jul 7, 2021, 1:01 AM
J6HV4MNJ7EIFPTVED62IWDE2CVOZ2FHPM27D2UHDM5VEUCXG5ZJAC

Dependencies

  • [2] ROQCAPZJ Begin function for showing the map (for now just opens SDL window)

Change contents

  • edit in trainmodel/src/drawmap.py at line 33
    [2.408]
    [2.408]
    elif event.type == sdl2.SDL_MOUSEBUTTONUP:
    print(list(inputs[event.button.y * 1024 + event.button.x].numpy()))