examples: fix mingw build error

M_PI was not declared error solved
This commit is contained in:
Mira Grudzinska 2024-10-03 00:00:03 +02:00 committed by Hermet Park
parent 38f6ff4380
commit 42c4190112

View file

@ -19,6 +19,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#define _USE_MATH_DEFINES
#include <cmath>
#include "Example.h"