diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-12-20 15:30:06 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-12-20 15:30:06 -0300 |
commit | a36a774897ae191ebb90ba803bac7f919e92bd6c (patch) | |
tree | 38a60d8a92d9add2f9641f1c4047d29821aa278a /core/math | |
parent | 7dbc19f32db7b63062e715381923c873bf18683e (diff) |
Fixes
-=-=-=
-Added missing quaternion constructor
-code completion fixes
-winrt fixes
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/math_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 28a8413325..6d43ed8e64 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -136,7 +136,7 @@ public: static int b; -#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603 // windows 8? +#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603) || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP // windows 8 phone? b = (int)((a>0.0f) ? (a + 0.5f):(a -0.5f)); #elif defined(_MSC_VER) && _MSC_VER < 1800 |