diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-29 04:20:32 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-01-29 04:20:32 +0100 |
| commit | d13ee198a63102ae2ec6feb3397a65a503dcc25e (patch) | |
| tree | 53411e95f5ed6e26f7617e92e3d71f78b19618df | |
| parent | fe84bd171b3ef9ea34ee961859c148c4892e548d (diff) | |
add _USE_MATH_DEFINES for msvc M_PI in math.h
| -rw-r--r-- | include/vkh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vkh.h b/include/vkh.h index 7f41e5a..a56c69a 100644 --- a/include/vkh.h +++ b/include/vkh.h @@ -36,6 +36,8 @@ typedef enum VmaMemoryUsage VmaMemoryUsage; #include <assert.h> #include <stdbool.h> #include <stdint.h> + +#define _USE_MATH_DEFINES //to have M_PI* defined with MSVC #include <math.h> #define VKH_KO 0x00000400 |