pyglpainter icon indicating copy to clipboard operation
pyglpainter copied to clipboard

Crash on representation

Open EmmanuelMess opened this issue 7 months ago • 0 comments

PYTHONPATH=src python3 -m pipenv run ./test/example.py
Traceback (most recent call last):
  File "pyglpainter/src/pyglpainter/classes/painterwidget.py", line 401, in mouseMoveEvent
    angle_between = PainterWidget.angle_between(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pyglpainter/src/pyglpainter/classes/painterwidget.py", line 525, in angle_between
    return math.acos(
           ^^^^^^^^^^
ValueError: math domain error
zsh: IOT instruction (core dumped)  PYTHONPATH=src python3 -m pipenv run ./test/example.py

EmmanuelMess avatar May 28 '25 11:05 EmmanuelMess