Skip to content

In DecalDrawable.cpp use std::numbers::pi_v<float> instead of M_PIf #2

Description

@treigilbert

M_PIf is not compatible with some compilers (I'm trying to build on MSVC).
Suggest '#include and using std::numbers::pi_v in place of M_PIf '
If looking for older compilers without C++20, may want to use a different define.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions