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

Fix handling of small magnitude quaternions #1022

Merged

Commits on Jul 28, 2020

  1. Fix handling of small magnitude quaternions

    The special case handling in glm::qua::pow is specifically intended for
    the case when the magnitude is null. Even for magnitudes smaller than
    epsilon, the common formula should be used. Because comparing a
    floating-point value by equality triggers a warning through the
    -Weveverything setting of clang, it must be selectively disabled for the
    condition.
    qsantos committed Jul 28, 2020
    Configuration menu
    Copy the full SHA
    d6d272e View commit details
    Browse the repository at this point in the history