Replace non-portable M_PI with constants::pi()
Similar to:
- https://github.com/flexible-collision-library/fcl/pull/264
- https://github.com/flexible-collision-library/fcl/pull/450
Problem originally experienced in https://github.com/conda-forge/fcl-feedstock/pull/11, but it seems it was also experienced in https://github.com/flexible-collision-library/fcl/issues/546 .
I am not sure why the problem was not detected in CI, I guess https://github.com/flexible-collision-library/fcl/issues/389 or something similar issue like https://github.com/flexible-collision-library/fcl/issues/442 . If there is interest in the fcl mantainers I would be happy to contribute and mantain a GitHub Actions-based CI script, either using conda-forge or vcpkg dependencies.
@traversaro I see CI is not triggering for this and other PRs. Any thoughts on how to fix?
@traversaro I see CI is not triggering for this and other PRs. Any thoughts on how to fix?
I am not sure. Perhaps it is the mitigation against mining for which mantainers need to manually allow CI jobs from PRs?