Skip to content

snake.py crashes in certain cases #15

@MeenakshiMcNamara

Description

@MeenakshiMcNamara

It was discovered that there is a domain error for the arcos function on line 78 of the snake.py file in certain cases. The theory is that this comes from a rounding error when rotating the head_vector, so adding .unit() will hopefully fix the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions