overte/libraries
Dale Glass 32c3725b5d Define _USE_MATH_DEFINES everywhere that uses math constants
On Win32, things are failing to build with messages like:

RenderableEntityItem.cpp(674,51): error C2065: 'M_PI': undeclared identifier

This is because as per Microsoft documentation, _USE_MATH_DEFINES is needed to
obtain constants like M_PI:

https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160

It seems this worked previously due to some quirk of CMake, but stopped working
after some reordering. This change makes this definition explicit where it is needed.
2021-07-17 19:34:26 +02:00
..
animation Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
audio Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
audio-client Rename "HifiSockAddr" to "SockAddr" 2021-07-06 13:23:57 +12:00
auto-updater
avatars Update copyright headers. 2021-06-21 12:06:52 -04:00
avatars-renderer Update copyright headers. 2021-06-21 12:06:52 -04:00
baking Rename fbx folder to model-serializers 2021-04-15 19:26:10 +02:00
controllers Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
display-plugins Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
embedded-webserver Log authentication events in the domain server 2021-04-03 17:29:51 +02:00
entities Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
entities-renderer Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
gl
gpu fix ktx issue 2021-04-01 23:39:00 -07:00
gpu-gl Fix mismatched if in CMake warning 2021-04-11 23:00:46 +02:00
gpu-gl-common type 2021-03-03 18:58:09 -08:00
gpu-gles
graphics Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
graphics-scripting Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
hfm
image Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
input-plugins Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
ktx
material-networking Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
midi Update copyright headers. 2021-06-21 12:06:52 -04:00
model-baker
model-networking Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
model-serializers Replace some QMap occurrences with QHash 2021-04-29 08:15:37 +12:00
networking Rename "HifiSockAddr" to "SockAddr" 2021-07-06 13:23:57 +12:00
octree Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
oculusMobile
oculusMobilePlugin Fix missed JSDoc tag change 2021-05-16 21:44:16 +12:00
physics Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
platform Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
plugins Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
pointers Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
procedural Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
qml
recording
render
render-utils Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
script-engine Update Doxygen group tags to use /// format 2021-07-01 15:59:58 +12:00
shaders
shared Define _USE_MATH_DEFINES everywhere that uses math constants 2021-07-17 19:34:26 +02:00
task Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
test-utils
ui Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
ui-plugins
workload