Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve imprecise constant for hexagon shape #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 31, 2016

  1. improve imprecise constant for hexagon shape

    1.75 is a very bad aproximation for 1.732050807568877 = cos(30) * 2. I don't think we need to optimize here and hardcode the constant - better use a readable calculation.
    lumbric committed Jan 31, 2016
    Configuration menu
    Copy the full SHA
    f43e113 View commit details
    Browse the repository at this point in the history