diff --git a/glm/detail/dummy.cpp b/glm/detail/dummy.cpp index 69ffa7cf..b219079b 100644 --- a/glm/detail/dummy.cpp +++ b/glm/detail/dummy.cpp @@ -29,7 +29,6 @@ /// dummy.cpp exist only a wordaround for CMake file. /////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #define GLM_MESSAGES #include "../glm.hpp" #include diff --git a/glm/gtc/matrix_transform.hpp b/glm/gtc/matrix_transform.hpp index b08ad9c1..e4f770ee 100644 --- a/glm/gtc/matrix_transform.hpp +++ b/glm/gtc/matrix_transform.hpp @@ -89,7 +89,7 @@ namespace glm /// Builds a rotation 4 * 4 matrix created from an axis vector and an angle. /// /// @param m Input matrix multiplied by this rotation matrix. - /// @param angle Rotation angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Rotation angle expressed in radians. /// @param axis Rotation axis, recommanded to be normalized. /// @tparam T Value type used to build the matrix. Supported: half, float or double. /// @see gtc_matrix_transform @@ -175,7 +175,7 @@ namespace glm /// Creates a matrix for a symetric perspective-view frustum. /// - /// @param fovy Expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param fovy Expressed in radians. /// @param aspect /// @param near /// @param far @@ -190,7 +190,7 @@ namespace glm /// Builds a perspective projection matrix based on a field of view. /// - /// @param fov Expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param fov Expressed in radians. /// @param width /// @param height /// @param near @@ -207,7 +207,7 @@ namespace glm /// Creates a matrix for a symmetric perspective-view frustum with far plane at infinite. /// - /// @param fovy Expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param fovy Expressed in radians. /// @param aspect /// @param near /// @tparam T Value type used to build the matrix. Currently supported: half (not recommanded), float or double. @@ -218,7 +218,7 @@ namespace glm /// Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. /// - /// @param fovy Expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param fovy Expressed in radians. /// @param aspect /// @param near /// @tparam T Value type used to build the matrix. Currently supported: half (not recommanded), float or double. @@ -229,7 +229,7 @@ namespace glm /// Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. /// - /// @param fovy Expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param fovy Expressed in radians. /// @param aspect /// @param near /// @tparam T Value type used to build the matrix. Currently supported: half (not recommanded), float or double. diff --git a/glm/gtc/matrix_transform.inl b/glm/gtc/matrix_transform.inl index 15009358..1551db80 100644 --- a/glm/gtc/matrix_transform.inl +++ b/glm/gtc/matrix_transform.inl @@ -52,14 +52,9 @@ namespace glm detail::tvec3 const & v ) { -#ifdef GLM_FORCE_RADIANS - T a = angle; -#else -# pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T a = radians(angle); -#endif - T c = cos(a); - T s = sin(a); + T const a = angle; + T const c = cos(a); + T const s = sin(a); detail::tvec3 axis(normalize(v)); detail::tvec3 temp((T(1) - c) * axis); @@ -93,14 +88,9 @@ namespace glm detail::tvec3 const & v ) { -#ifdef GLM_FORCE_RADIANS T const a = angle; -#else -# pragma message("GLM: rotate_slow function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const a = radians(angle); -#endif - T c = cos(a); - T s = sin(a); + T const c = cos(a); + T const s = sin(a); detail::tmat4x4 Result; detail::tvec3 axis = normalize(v); @@ -126,10 +116,10 @@ namespace glm template GLM_FUNC_QUALIFIER detail::tmat4x4 scale - ( + ( detail::tmat4x4 const & m, detail::tvec3 const & v - ) + ) { detail::tmat4x4 Result(detail::tmat4x4::_null); Result[0] = m[0] * v[0]; @@ -226,14 +216,8 @@ namespace glm assert(aspect != static_cast(0)); assert(zFar != zNear); -#ifdef GLM_FORCE_RADIANS T const rad = fovy; -#else -# pragma message("GLM: perspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const rad = glm::radians(fovy); -#endif - - T tanHalfFovy = tan(rad / static_cast(2)); + T const tanHalfFovy = tan(rad / static_cast(2)); detail::tmat4x4 Result(static_cast(0)); Result[0][0] = static_cast(1) / (aspect * tanHalfFovy); @@ -258,14 +242,9 @@ namespace glm assert(height > static_cast(0)); assert(fov > static_cast(0)); -#ifdef GLM_FORCE_RADIANS - T rad = fov; -#else -# pragma message("GLM: perspectiveFov function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T rad = glm::radians(fov); -#endif - T h = glm::cos(static_cast(0.5) * rad) / glm::sin(static_cast(0.5) * rad); - T w = h * height / width; ///todo max(width , Height) / min(width , Height)? + T const rad = fov; + T const h = glm::cos(static_cast(0.5) * rad) / glm::sin(static_cast(0.5) * rad); + T const w = h * height / width; ///todo max(width , Height) / min(width , Height)? detail::tmat4x4 Result(static_cast(0)); Result[0][0] = w; @@ -284,16 +263,11 @@ namespace glm T zNear ) { -#ifdef GLM_FORCE_RADIANS - T const range = tan(fovy / T(2)) * zNear; -#else -# pragma message("GLM: infinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const range = tan(radians(fovy / T(2))) * zNear; -#endif - T left = -range * aspect; - T right = range * aspect; - T bottom = -range; - T top = range; + T const range = tan(fovy / T(2)) * zNear; + T const left = -range * aspect; + T const right = range * aspect; + T const bottom = -range; + T const top = range; detail::tmat4x4 Result(T(0)); Result[0][0] = (T(2) * zNear) / (right - left); @@ -314,16 +288,11 @@ namespace glm T ep ) { -#ifdef GLM_FORCE_RADIANS - T range = tan(fovy / T(2)) * zNear; -#else -# pragma message("GLM: tweakedInfinitePerspective function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T range = tan(radians(fovy / T(2))) * zNear; -#endif - T left = -range * aspect; - T right = range * aspect; - T bottom = -range; - T top = range; + T const range = tan(fovy / T(2)) * zNear; + T const left = -range * aspect; + T const right = range * aspect; + T const bottom = -range; + T const top = range; detail::tmat4x4 Result(T(0)); Result[0][0] = (static_cast(2) * zNear) / (right - left); @@ -420,9 +389,9 @@ namespace glm detail::tvec3 const & up ) { - detail::tvec3 f(normalize(center - eye)); - detail::tvec3 s(normalize(cross(f, up))); - detail::tvec3 u(cross(s, f)); + detail::tvec3 const f(normalize(center - eye)); + detail::tvec3 const s(normalize(cross(f, up))); + detail::tvec3 const u(cross(s, f)); detail::tmat4x4 Result(1); Result[0][0] = s.x; diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 6cbb3326..f9efb6b1 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -247,7 +247,7 @@ namespace detail /// Rotates a quaternion from a vector of 3 components axis and an angle. /// /// @param q Source orientation - /// @param angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Angle expressed in radians. /// @param axis Axis of the rotation /// /// @see gtc_quaternion @@ -265,19 +265,19 @@ namespace detail GLM_FUNC_DECL detail::tvec3 eulerAngles( detail::tquat const & x); - /// Returns roll value of euler angles expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise. + /// Returns roll value of euler angles expressed in radians. /// /// @see gtx_quaternion template GLM_FUNC_DECL T roll(detail::tquat const & x); - /// Returns pitch value of euler angles expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise. + /// Returns pitch value of euler angles expressed in radians. /// /// @see gtx_quaternion template GLM_FUNC_DECL T pitch(detail::tquat const & x); - /// Returns yaw value of euler angles expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise. + /// Returns yaw value of euler angles expressed in radians. /// /// @see gtx_quaternion template @@ -326,7 +326,7 @@ namespace detail /// Build a quaternion from an angle and a normalized axis. /// - /// @param angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Angle expressed in radians. /// @param axis Axis of the quaternion, must be normalized. /// /// @see gtc_quaternion diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index 122cdc42..d0e4696f 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -615,12 +615,7 @@ namespace detail Tmp.z *= oneOverLen; } -#ifdef GLM_FORCE_RADIANS T const AngleRad(angle); -#else -# pragma message("GLM: rotate function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const AngleRad = radians(angle); -#endif T const Sin = sin(AngleRad * T(0.5)); return q * detail::tquat(cos(AngleRad * T(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin); @@ -642,12 +637,7 @@ namespace detail detail::tquat const & q ) { -#ifdef GLM_FORCE_RADIANS return T(atan(T(2) * (q.x * q.y + q.w * q.z), q.w * q.w + q.x * q.x - q.y * q.y - q.z * q.z)); -#else -# pragma message("GLM: roll function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - return glm::degrees(atan(T(2) * (q.x * q.y + q.w * q.z), q.w * q.w + q.x * q.x - q.y * q.y - q.z * q.z)); -#endif } template @@ -656,12 +646,7 @@ namespace detail detail::tquat const & q ) { -#ifdef GLM_FORCE_RADIANS return T(atan(T(2) * (q.y * q.z + q.w * q.x), q.w * q.w - q.x * q.x - q.y * q.y + q.z * q.z)); -#else -# pragma message("GLM: pitch function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - return glm::degrees(atan(T(2) * (q.y * q.z + q.w * q.x), q.w * q.w - q.x * q.x - q.y * q.y + q.z * q.z)); -#endif } template @@ -670,12 +655,7 @@ namespace detail detail::tquat const & q ) { -#ifdef GLM_FORCE_RADIANS return asin(T(-2) * (q.x * q.z - q.w * q.y)); -#else -# pragma message("GLM: yaw function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - return glm::degrees(asin(T(-2) * (q.x * q.z - q.w * q.y))); -#endif } template @@ -800,12 +780,7 @@ namespace detail detail::tquat const & x ) { -#ifdef GLM_FORCE_RADIANS return acos(x.w) * T(2); -#else -# pragma message("GLM: angle function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - return glm::degrees(acos(x.w) * T(2)); -#endif } template @@ -830,15 +805,10 @@ namespace detail { detail::tquat result; -#ifdef GLM_FORCE_RADIANS T const a(angle); -#else -# pragma message("GLM: angleAxis function taking degrees as a parameter is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const a(glm::radians(angle)); -#endif - T s = glm::sin(a * T(0.5)); + T const s = glm::sin(a * static_cast(0.5)); - result.w = glm::cos(a * T(0.5)); + result.w = glm::cos(a * static_cast(0.5)); result.x = v.x * s; result.y = v.y * s; result.z = v.z * s; diff --git a/glm/gtx/matrix_transform_2d.inl b/glm/gtx/matrix_transform_2d.inl index 63072d5f..bf4afe14 100644 --- a/glm/gtx/matrix_transform_2d.inl +++ b/glm/gtx/matrix_transform_2d.inl @@ -47,13 +47,9 @@ namespace glm detail::tmat3x3 const & m, T const & angle) { - #ifdef GLM_FORCE_RADIANS - T a = angle; - #else - T a = radians(angle); - #endif - T c = cos(a); - T s = sin(a); + T const a = angle; + T const c = cos(a); + T const s = sin(a); detail::tmat3x3 Result(detail::tmat3x3::_null); Result[0] = m[0] * c + m[1] * s; diff --git a/glm/gtx/polar_coordinates.inl b/glm/gtx/polar_coordinates.inl index 8805e972..2c28471c 100644 --- a/glm/gtx/polar_coordinates.inl +++ b/glm/gtx/polar_coordinates.inl @@ -19,18 +19,10 @@ namespace glm detail::tvec3 const tmp(euclidean / Length); T const xz_dist(sqrt(tmp.x * tmp.x + tmp.z * tmp.z)); -#ifdef GLM_FORCE_RADIANS return detail::tvec3( atan(xz_dist, tmp.y), // latitude atan(tmp.x, tmp.z), // longitude xz_dist); // xz distance -#else -# pragma message("GLM: polar function returning degrees is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - return detail::tvec3( - degrees(atan(xz_dist, tmp.y)), // latitude - degrees(atan(tmp.x, tmp.z)), // longitude - xz_dist); // xz distance -#endif } template @@ -39,14 +31,8 @@ namespace glm detail::tvec2 const & polar ) { -#ifdef GLM_FORCE_RADIANS T const latitude(polar.x); T const longitude(polar.y); -#else -# pragma message("GLM: euclidean function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const latitude(radians(polar.x)); - T const longitude(radians(polar.y)); -#endif return detail::tvec3( cos(latitude) * sin(longitude), diff --git a/glm/gtx/rotate_normalized_axis.inl b/glm/gtx/rotate_normalized_axis.inl index 29305a30..762cc4b2 100644 --- a/glm/gtx/rotate_normalized_axis.inl +++ b/glm/gtx/rotate_normalized_axis.inl @@ -36,18 +36,13 @@ namespace glm detail::tvec3 const & v ) { -#ifdef GLM_FORCE_RADIANS - T a = angle; -#else -# pragma message("GLM: rotateNormalizedAxis function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T a = radians(angle); -#endif - T c = cos(a); - T s = sin(a); + T const a = angle; + T const c = cos(a); + T const s = sin(a); - detail::tvec3 axis = v; + detail::tvec3 const axis(v); - detail::tvec3 temp = (T(1) - c) * axis; + detail::tvec3 const temp((static_cast(1) - c) * axis); detail::tmat4x4 Rotate(detail::tmat4x4::_null); Rotate[0][0] = c + temp[0] * axis[0]; @@ -78,14 +73,9 @@ namespace glm detail::tvec3 const & v ) { - detail::tvec3 Tmp = v; + detail::tvec3 const Tmp(v); -#ifdef GLM_FORCE_RADIANS T const AngleRad(angle); -#else -# pragma message("GLM: rotateNormalizedAxis function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") - T const AngleRad = radians(angle); -#endif T const Sin = sin(AngleRad * T(0.5)); return q * detail::tquat(cos(AngleRad * static_cast(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin); diff --git a/glm/gtx/simd_quat.hpp b/glm/gtx/simd_quat.hpp index a023c988..b5ebe21c 100644 --- a/glm/gtx/simd_quat.hpp +++ b/glm/gtx/simd_quat.hpp @@ -296,7 +296,7 @@ namespace detail /// Build a quaternion from an angle and a normalized axis. /// - /// @param angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Angle expressed in radians. /// @param axis Axis of the quaternion, must be normalized. /// /// @see gtc_quaternion @@ -306,7 +306,7 @@ namespace detail /// Build a quaternion from an angle and a normalized axis. /// - /// @param angle Angle expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. + /// @param angle Angle expressed in radians. /// @param x x component of the x-axis, x, y, z must be a normalized axis /// @param y y component of the y-axis, x, y, z must be a normalized axis /// @param z z component of the z-axis, x, y, z must be a normalized axis diff --git a/readme.txt b/readme.txt index 9dc64ad1..681c325e 100644 --- a/readme.txt +++ b/readme.txt @@ -45,6 +45,7 @@ GLM 0.9.6.0: 2014-XX-XX - Added move contructors and assignment operators (#141) - Use pragma once - Fixed Visual Studio 14 compiler warnings +- Added *vec1 support to *vec2 types ================================================================================ GLM 0.9.5.5: 2014-XX-XX diff --git a/test/core/core_func_common.cpp b/test/core/core_func_common.cpp index 0c509d35..6c996861 100644 --- a/test/core/core_func_common.cpp +++ b/test/core/core_func_common.cpp @@ -10,7 +10,6 @@ //#include //#include //#include -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_func_exponential.cpp b/test/core/core_func_exponential.cpp index 04d0036e..bc1966cd 100644 --- a/test/core/core_func_exponential.cpp +++ b/test/core/core_func_exponential.cpp @@ -7,7 +7,6 @@ // File : test/core/func_exponential.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_func_geometric.cpp b/test/core/core_func_geometric.cpp index 88eb4c71..07aa34c9 100644 --- a/test/core/core_func_geometric.cpp +++ b/test/core/core_func_geometric.cpp @@ -7,7 +7,6 @@ // File : test/core/func_geometric.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/core/core_func_integer.cpp b/test/core/core_func_integer.cpp index 1380f4a3..edb8ac42 100644 --- a/test/core/core_func_integer.cpp +++ b/test/core/core_func_integer.cpp @@ -7,7 +7,6 @@ // File : test/core/func_integer.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/core/core_func_matrix.cpp b/test/core/core_func_matrix.cpp index 5c95672c..11ea854f 100644 --- a/test/core/core_func_matrix.cpp +++ b/test/core/core_func_matrix.cpp @@ -7,7 +7,6 @@ // File : test/core/func_matrix.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_func_noise.cpp b/test/core/core_func_noise.cpp index 5d967a69..e9788702 100644 --- a/test/core/core_func_noise.cpp +++ b/test/core/core_func_noise.cpp @@ -7,8 +7,6 @@ // File : test/core/func_noise.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS - int main() { int Failed = 0; diff --git a/test/core/core_func_packing.cpp b/test/core/core_func_packing.cpp index 43644936..236f51e3 100644 --- a/test/core/core_func_packing.cpp +++ b/test/core/core_func_packing.cpp @@ -7,7 +7,6 @@ // File : test/core/func_packing.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_func_swizzle.cpp b/test/core/core_func_swizzle.cpp index 1d7a7a86..0add4cb1 100644 --- a/test/core/core_func_swizzle.cpp +++ b/test/core/core_func_swizzle.cpp @@ -7,7 +7,6 @@ // File : test/core/core_func_swizzle.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #define GLM_MESSAGES #define GLM_SWIZZLE #include diff --git a/test/core/core_func_trigonometric.cpp b/test/core/core_func_trigonometric.cpp index 0dda2a3b..57dff974 100644 --- a/test/core/core_func_trigonometric.cpp +++ b/test/core/core_func_trigonometric.cpp @@ -7,7 +7,6 @@ // File : test/core/func_trigonometric.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/core/core_func_vector_relational.cpp b/test/core/core_func_vector_relational.cpp index 46e64df0..e078241f 100644 --- a/test/core/core_func_vector_relational.cpp +++ b/test/core/core_func_vector_relational.cpp @@ -7,7 +7,6 @@ // File : test/core/vector_relational.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/core/core_type_cast.cpp b/test/core/core_type_cast.cpp index 97e2fdd6..9cac442b 100644 --- a/test/core/core_type_cast.cpp +++ b/test/core/core_type_cast.cpp @@ -7,7 +7,6 @@ // File : test/core/type_cast.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_float.cpp b/test/core/core_type_float.cpp index e51a4052..bb967eb5 100644 --- a/test/core/core_type_float.cpp +++ b/test/core/core_type_float.cpp @@ -7,7 +7,6 @@ // File : test/core/type_float.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_float_size() diff --git a/test/core/core_type_int.cpp b/test/core/core_type_int.cpp index d2736107..054c5c1d 100644 --- a/test/core/core_type_int.cpp +++ b/test/core/core_type_int.cpp @@ -7,7 +7,6 @@ // File : test/core/type_int.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_int_size() diff --git a/test/core/core_type_length.cpp b/test/core/core_type_length.cpp index cdbcd671..879caff8 100644 --- a/test/core/core_type_length.cpp +++ b/test/core/core_type_length.cpp @@ -7,7 +7,6 @@ // File : test/core/type_length.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_length_mat_non_squared() diff --git a/test/core/core_type_mat2x2.cpp b/test/core/core_type_mat2x2.cpp index 5cdf36a5..e777dfa2 100644 --- a/test/core/core_type_mat2x2.cpp +++ b/test/core/core_type_mat2x2.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat2x2.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat2x3.cpp b/test/core/core_type_mat2x3.cpp index c0d1c013..68415c9d 100644 --- a/test/core/core_type_mat2x3.cpp +++ b/test/core/core_type_mat2x3.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat2x3.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp index c133348b..9a0036fd 100644 --- a/test/core/core_type_mat2x4.cpp +++ b/test/core/core_type_mat2x4.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat2x4.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat3x2.cpp b/test/core/core_type_mat3x2.cpp index 38d19814..9d789e67 100644 --- a/test/core/core_type_mat3x2.cpp +++ b/test/core/core_type_mat3x2.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat3x2.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat3x3.cpp b/test/core/core_type_mat3x3.cpp index f0f6171c..b3fc7322 100644 --- a/test/core/core_type_mat3x3.cpp +++ b/test/core/core_type_mat3x3.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat3x3.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp index 1598fcc7..52da11a6 100644 --- a/test/core/core_type_mat3x4.cpp +++ b/test/core/core_type_mat3x4.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat3x4.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat4x2.cpp b/test/core/core_type_mat4x2.cpp index 4df38a9f..9d707039 100644 --- a/test/core/core_type_mat4x2.cpp +++ b/test/core/core_type_mat4x2.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat4x2.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat4x3.cpp b/test/core/core_type_mat4x3.cpp index 7e7500d8..ca70b6bc 100644 --- a/test/core/core_type_mat4x3.cpp +++ b/test/core/core_type_mat4x3.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat4x3.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index 704e83d9..bda125c0 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/test/core/core_type_mat4x4.cpp @@ -7,7 +7,6 @@ // File : test/core/type_mat4x4.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_vec1.cpp b/test/core/core_type_vec1.cpp index 47247390..3a08c1a7 100644 --- a/test/core/core_type_vec1.cpp +++ b/test/core/core_type_vec1.cpp @@ -8,7 +8,6 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// #define GLM_SWIZZLE -#define GLM_FORCE_RADIANS #include int test_operators() diff --git a/test/core/core_type_vec2.cpp b/test/core/core_type_vec2.cpp index 3dcd6504..c3cb3e6b 100644 --- a/test/core/core_type_vec2.cpp +++ b/test/core/core_type_vec2.cpp @@ -8,7 +8,6 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// #define GLM_SWIZZLE -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/core/core_type_vec3.cpp b/test/core/core_type_vec3.cpp index 9db97f94..f1cc8b91 100644 --- a/test/core/core_type_vec3.cpp +++ b/test/core/core_type_vec3.cpp @@ -7,7 +7,6 @@ // File : test/core/type_vec3.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #define GLM_SWIZZLE #include #include diff --git a/test/core/core_type_vec4.cpp b/test/core/core_type_vec4.cpp index 907fa2ce..fa65f9e0 100644 --- a/test/core/core_type_vec4.cpp +++ b/test/core/core_type_vec4.cpp @@ -8,7 +8,6 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// #define GLM_SWIZZLE -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_constants.cpp b/test/gtc/gtc_constants.cpp index 8c10f24f..77ba47ce 100644 --- a/test/gtc/gtc_constants.cpp +++ b/test/gtc/gtc_constants.cpp @@ -7,7 +7,6 @@ // File : test/gtc/constants.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_epsilon() diff --git a/test/gtc/gtc_epsilon.cpp b/test/gtc/gtc_epsilon.cpp index 30fb4a4b..6ef111c8 100644 --- a/test/gtc/gtc_epsilon.cpp +++ b/test/gtc/gtc_epsilon.cpp @@ -7,7 +7,6 @@ // File : test/gtc/epsilon.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_matrix_access.cpp b/test/gtc/gtc_matrix_access.cpp index cfaac5f0..e9da259a 100644 --- a/test/gtc/gtc_matrix_access.cpp +++ b/test/gtc/gtc_matrix_access.cpp @@ -7,7 +7,6 @@ // File : test/gtc/matrix_access.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_matrix_integer.cpp b/test/gtc/gtc_matrix_integer.cpp index 58c07b9d..428e34f0 100644 --- a/test/gtc/gtc_matrix_integer.cpp +++ b/test/gtc/gtc_matrix_integer.cpp @@ -7,7 +7,6 @@ // File : test/gtc/matrix_integer.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/gtc/gtc_matrix_inverse.cpp b/test/gtc/gtc_matrix_inverse.cpp index bd296461..e63c9175 100644 --- a/test/gtc/gtc_matrix_inverse.cpp +++ b/test/gtc/gtc_matrix_inverse.cpp @@ -7,7 +7,6 @@ // File : test/gtc/matrix_inverse.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/gtc/gtc_matrix_transform.cpp b/test/gtc/gtc_matrix_transform.cpp index 0ea54598..9530045f 100644 --- a/test/gtc/gtc_matrix_transform.cpp +++ b/test/gtc/gtc_matrix_transform.cpp @@ -7,7 +7,6 @@ // File : test/gtc/matrix_transform.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtc/gtc_noise.cpp b/test/gtc/gtc_noise.cpp index 1939f258..c46fb967 100644 --- a/test/gtc/gtc_noise.cpp +++ b/test/gtc/gtc_noise.cpp @@ -7,7 +7,6 @@ // File : test/gtc/noise.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_packing.cpp b/test/gtc/gtc_packing.cpp index ceec3dd2..0cef7e61 100644 --- a/test/gtc/gtc_packing.cpp +++ b/test/gtc/gtc_packing.cpp @@ -26,7 +26,6 @@ /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_quaternion.cpp b/test/gtc/gtc_quaternion.cpp index fab238af..9b98018c 100644 --- a/test/gtc/gtc_quaternion.cpp +++ b/test/gtc/gtc_quaternion.cpp @@ -7,7 +7,6 @@ // File : test/gtc/quaternion.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_random.cpp b/test/gtc/gtc_random.cpp index 902a3b52..9c98b2f5 100644 --- a/test/gtc/gtc_random.cpp +++ b/test/gtc/gtc_random.cpp @@ -7,7 +7,6 @@ // File : test/gtc/random.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_reciprocal.cpp b/test/gtc/gtc_reciprocal.cpp index 2fd51d61..87c7ffce 100644 --- a/test/gtc/gtc_reciprocal.cpp +++ b/test/gtc/gtc_reciprocal.cpp @@ -7,7 +7,6 @@ // File : test/gtc/reciprocal.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/gtc/gtc_type_precision.cpp b/test/gtc/gtc_type_precision.cpp index 653cb8b8..7b3af0fc 100644 --- a/test/gtc/gtc_type_precision.cpp +++ b/test/gtc/gtc_type_precision.cpp @@ -7,7 +7,6 @@ // File : test/gtc/type_precision.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtc/gtc_type_ptr.cpp b/test/gtc/gtc_type_ptr.cpp index df579f64..b4fa4213 100644 --- a/test/gtc/gtc_type_ptr.cpp +++ b/test/gtc/gtc_type_ptr.cpp @@ -7,7 +7,6 @@ // File : test/gtc/type_ptr.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_value_ptr_vec() diff --git a/test/gtc/gtc_ulp.cpp b/test/gtc/gtc_ulp.cpp index ae734564..3da9f082 100644 --- a/test/gtc/gtc_ulp.cpp +++ b/test/gtc/gtc_ulp.cpp @@ -7,7 +7,6 @@ // File : test/gtc/ulp.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_associated_min_max.cpp b/test/gtx/gtx_associated_min_max.cpp index 9700e31d..5840e33b 100644 --- a/test/gtx/gtx_associated_min_max.cpp +++ b/test/gtx/gtx_associated_min_max.cpp @@ -7,7 +7,6 @@ // File : test/gtx/associated_min_max.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_bit.cpp b/test/gtx/gtx_bit.cpp index 34e80364..a696c88b 100644 --- a/test/gtx/gtx_bit.cpp +++ b/test/gtx/gtx_bit.cpp @@ -7,7 +7,6 @@ // File : test/gtx/bit.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_closest_point.cpp b/test/gtx/gtx_closest_point.cpp index 9700e31d..5840e33b 100644 --- a/test/gtx/gtx_closest_point.cpp +++ b/test/gtx/gtx_closest_point.cpp @@ -7,7 +7,6 @@ // File : test/gtx/associated_min_max.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_color_space.cpp b/test/gtx/gtx_color_space.cpp index fb3649e9..0849adcd 100644 --- a/test/gtx/gtx_color_space.cpp +++ b/test/gtx/gtx_color_space.cpp @@ -7,7 +7,6 @@ // File : test/gtx/color_space.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_color_space_YCoCg.cpp b/test/gtx/gtx_color_space_YCoCg.cpp index 86c39a89..4dbccc7b 100644 --- a/test/gtx/gtx_color_space_YCoCg.cpp +++ b/test/gtx/gtx_color_space_YCoCg.cpp @@ -7,7 +7,6 @@ // File : test/gtx/color_space_YCoCg.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_compatibility.cpp b/test/gtx/gtx_compatibility.cpp index c462c545..95faa6e1 100644 --- a/test/gtx/gtx_compatibility.cpp +++ b/test/gtx/gtx_compatibility.cpp @@ -7,7 +7,6 @@ // File : test/gtx/compatibility.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_component_wise.cpp b/test/gtx/gtx_component_wise.cpp index 35bcc452..9e5ffff3 100644 --- a/test/gtx/gtx_component_wise.cpp +++ b/test/gtx/gtx_component_wise.cpp @@ -7,7 +7,6 @@ // File : test/gtx/component_wise.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_dual_quaternion.cpp b/test/gtx/gtx_dual_quaternion.cpp index 932ae090..334bbda9 100644 --- a/test/gtx/gtx_dual_quaternion.cpp +++ b/test/gtx/gtx_dual_quaternion.cpp @@ -7,7 +7,6 @@ // File : test/gtc/gtc_dual_quaternion.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_euler_angle.cpp b/test/gtx/gtx_euler_angle.cpp index 28d53af6..d278c0e5 100644 --- a/test/gtx/gtx_euler_angle.cpp +++ b/test/gtx/gtx_euler_angle.cpp @@ -9,7 +9,6 @@ // Code sample from Filippo Ramaciotti -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_extend.cpp b/test/gtx/gtx_extend.cpp index 593fa165..6dd268d5 100644 --- a/test/gtx/gtx_extend.cpp +++ b/test/gtx/gtx_extend.cpp @@ -7,7 +7,6 @@ // File : test/gtx/extend.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_extented_min_max.cpp b/test/gtx/gtx_extented_min_max.cpp index 9700e31d..5840e33b 100644 --- a/test/gtx/gtx_extented_min_max.cpp +++ b/test/gtx/gtx_extented_min_max.cpp @@ -7,7 +7,6 @@ // File : test/gtx/associated_min_max.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_fast_exponential.cpp b/test/gtx/gtx_fast_exponential.cpp index b074fbac..3318b882 100644 --- a/test/gtx/gtx_fast_exponential.cpp +++ b/test/gtx/gtx_fast_exponential.cpp @@ -7,7 +7,6 @@ // File : test/gtx/associated_min_max.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_fast_square_root.cpp b/test/gtx/gtx_fast_square_root.cpp index b9d41dcd..061dbb3b 100644 --- a/test/gtx/gtx_fast_square_root.cpp +++ b/test/gtx/gtx_fast_square_root.cpp @@ -7,7 +7,6 @@ // File : test/gtx/fast_square_root.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_fast_trigonometry.cpp b/test/gtx/gtx_fast_trigonometry.cpp index 1f86280e..c7ad3e6e 100644 --- a/test/gtx/gtx_fast_trigonometry.cpp +++ b/test/gtx/gtx_fast_trigonometry.cpp @@ -7,7 +7,6 @@ // File : test/gtx/fast_trigonometry.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_gradient_paint.cpp b/test/gtx/gtx_gradient_paint.cpp index 7320f1f6..80af3662 100644 --- a/test/gtx/gtx_gradient_paint.cpp +++ b/test/gtx/gtx_gradient_paint.cpp @@ -7,7 +7,6 @@ // File : test/gtx/gradient_paint.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_radialGradient() diff --git a/test/gtx/gtx_handed_coordinate_space.cpp b/test/gtx/gtx_handed_coordinate_space.cpp index 15894fb1..d45563d0 100644 --- a/test/gtx/gtx_handed_coordinate_space.cpp +++ b/test/gtx/gtx_handed_coordinate_space.cpp @@ -7,7 +7,6 @@ // File : test/gtx/handed_coordinate_space.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_inertia.cpp b/test/gtx/gtx_inertia.cpp index c5c21098..7a8956f2 100644 --- a/test/gtx/gtx_inertia.cpp +++ b/test/gtx/gtx_inertia.cpp @@ -7,7 +7,6 @@ // File : test/gtx/inertia.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_integer.cpp b/test/gtx/gtx_integer.cpp index 5c1b24a6..72725a3e 100644 --- a/test/gtx/gtx_integer.cpp +++ b/test/gtx/gtx_integer.cpp @@ -7,7 +7,6 @@ // File : test/gtx/gtx_integer.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_intersect.cpp b/test/gtx/gtx_intersect.cpp index 04b26cdb..5c3b5cb6 100644 --- a/test/gtx/gtx_intersect.cpp +++ b/test/gtx/gtx_intersect.cpp @@ -7,7 +7,6 @@ // File : test/gtx/intersect.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_io.cpp b/test/gtx/gtx_io.cpp index 6fcaa60e..5c6160cd 100644 --- a/test/gtx/gtx_io.cpp +++ b/test/gtx/gtx_io.cpp @@ -7,7 +7,6 @@ // File : test/gtx/io.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_log_base.cpp b/test/gtx/gtx_log_base.cpp index 10b5c600..4de4ed09 100644 --- a/test/gtx/gtx_log_base.cpp +++ b/test/gtx/gtx_log_base.cpp @@ -7,7 +7,6 @@ // File : test/gtx/log_base.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_matrix_cross_product.cpp b/test/gtx/gtx_matrix_cross_product.cpp index c58efa25..5dcd9376 100644 --- a/test/gtx/gtx_matrix_cross_product.cpp +++ b/test/gtx/gtx_matrix_cross_product.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_cross_product.hpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_matrix_interpolation.cpp b/test/gtx/gtx_matrix_interpolation.cpp index 101832b4..6e4c19aa 100644 --- a/test/gtx/gtx_matrix_interpolation.cpp +++ b/test/gtx/gtx_matrix_interpolation.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_interpolation.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/gtx/gtx_matrix_major_storage.cpp b/test/gtx/gtx_matrix_major_storage.cpp index 2ef47e9e..c3794bc7 100644 --- a/test/gtx/gtx_matrix_major_storage.cpp +++ b/test/gtx/gtx_matrix_major_storage.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_major_storage.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_matrix_operation.cpp b/test/gtx/gtx_matrix_operation.cpp index 7e8d2605..05274262 100644 --- a/test/gtx/gtx_matrix_operation.cpp +++ b/test/gtx/gtx_matrix_operation.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_operation.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_matrix_query.cpp b/test/gtx/gtx_matrix_query.cpp index 29a62fb4..d53b03b6 100644 --- a/test/gtx/gtx_matrix_query.cpp +++ b/test/gtx/gtx_matrix_query.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_query.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_isNull() diff --git a/test/gtx/gtx_matrix_transform_2d.cpp b/test/gtx/gtx_matrix_transform_2d.cpp index d983e4fc..786143b2 100644 --- a/test/gtx/gtx_matrix_transform_2d.cpp +++ b/test/gtx/gtx_matrix_transform_2d.cpp @@ -7,7 +7,6 @@ // File : test/gtx/matrix_transform_2d.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int main() diff --git a/test/gtx/gtx_multiple.cpp b/test/gtx/gtx_multiple.cpp index 61bb2689..df0c5842 100644 --- a/test/gtx/gtx_multiple.cpp +++ b/test/gtx/gtx_multiple.cpp @@ -7,7 +7,6 @@ // File : test/gtx/gtx_multiple.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include int test_higher_int() diff --git a/test/gtx/gtx_norm.cpp b/test/gtx/gtx_norm.cpp index a0373e39..096a5d8d 100644 --- a/test/gtx/gtx_norm.cpp +++ b/test/gtx/gtx_norm.cpp @@ -7,7 +7,6 @@ // File : test/gtx/norm.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_normal.cpp b/test/gtx/gtx_normal.cpp index 1d0ac29e..ead190f9 100644 --- a/test/gtx/gtx_normal.cpp +++ b/test/gtx/gtx_normal.cpp @@ -7,7 +7,6 @@ // File : test/gtx/normal.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_normalize_dot.cpp b/test/gtx/gtx_normalize_dot.cpp index d212b9a2..67313225 100644 --- a/test/gtx/gtx_normalize_dot.cpp +++ b/test/gtx/gtx_normalize_dot.cpp @@ -7,7 +7,6 @@ // File : test/gtx/normalize_dot.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_number_precision.cpp b/test/gtx/gtx_number_precision.cpp index 9cb52c82..a2e9008d 100644 --- a/test/gtx/gtx_number_precision.cpp +++ b/test/gtx/gtx_number_precision.cpp @@ -7,7 +7,6 @@ // File : test/gtx/number_precision.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_optimum_pow.cpp b/test/gtx/gtx_optimum_pow.cpp index 4b749f23..430d0e5e 100644 --- a/test/gtx/gtx_optimum_pow.cpp +++ b/test/gtx/gtx_optimum_pow.cpp @@ -7,7 +7,6 @@ // File : test/gtx/optimum_pow.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_orthonormalize.cpp b/test/gtx/gtx_orthonormalize.cpp index 4a6108dc..e9902d63 100644 --- a/test/gtx/gtx_orthonormalize.cpp +++ b/test/gtx/gtx_orthonormalize.cpp @@ -7,7 +7,6 @@ // File : test/gtx/orthonormalize.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_perpendicular.cpp b/test/gtx/gtx_perpendicular.cpp index bf500473..0f2a5fec 100644 --- a/test/gtx/gtx_perpendicular.cpp +++ b/test/gtx/gtx_perpendicular.cpp @@ -7,7 +7,6 @@ // File : test/gtx/perpendicular.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_polar_coordinates.cpp b/test/gtx/gtx_polar_coordinates.cpp index fbb28861..957c9884 100644 --- a/test/gtx/gtx_polar_coordinates.cpp +++ b/test/gtx/gtx_polar_coordinates.cpp @@ -7,7 +7,6 @@ // File : test/gtx/polar_coordinates.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_projection.cpp b/test/gtx/gtx_projection.cpp index bd52d935..777c165b 100644 --- a/test/gtx/gtx_projection.cpp +++ b/test/gtx/gtx_projection.cpp @@ -7,7 +7,6 @@ // File : test/gtx/projection.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_quaternion.cpp b/test/gtx/gtx_quaternion.cpp index 1dacc1f2..3153a910 100644 --- a/test/gtx/gtx_quaternion.cpp +++ b/test/gtx/gtx_quaternion.cpp @@ -7,7 +7,6 @@ // File : test/gtx/quaternion.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_rotate_normalized_axis.cpp b/test/gtx/gtx_rotate_normalized_axis.cpp index aea8fef6..cf10598f 100644 --- a/test/gtx/gtx_rotate_normalized_axis.cpp +++ b/test/gtx/gtx_rotate_normalized_axis.cpp @@ -26,7 +26,6 @@ /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_rotate_vector.cpp b/test/gtx/gtx_rotate_vector.cpp index 516fec47..ff8fac60 100644 --- a/test/gtx/gtx_rotate_vector.cpp +++ b/test/gtx/gtx_rotate_vector.cpp @@ -7,7 +7,6 @@ // File : test/gtx/rotate_vector.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include diff --git a/test/gtx/gtx_scalar_relational.cpp b/test/gtx/gtx_scalar_relational.cpp index 06cc45b9..096d1dc8 100644 --- a/test/gtx/gtx_scalar_relational.cpp +++ b/test/gtx/gtx_scalar_relational.cpp @@ -7,7 +7,6 @@ // File : test/gtx/gtx_scalar_relational.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_simd_mat4.cpp b/test/gtx/gtx_simd_mat4.cpp index fd85f7fa..d7a64638 100644 --- a/test/gtx/gtx_simd_mat4.cpp +++ b/test/gtx/gtx_simd_mat4.cpp @@ -7,7 +7,6 @@ // File : test/gtx/simd-mat4.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_simd_vec4.cpp b/test/gtx/gtx_simd_vec4.cpp index 3591125a..af7894f3 100644 --- a/test/gtx/gtx_simd_vec4.cpp +++ b/test/gtx/gtx_simd_vec4.cpp @@ -7,7 +7,6 @@ // File : test/gtx/simd-vec4.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_spline.cpp b/test/gtx/gtx_spline.cpp index 4feff809..d82536fe 100644 --- a/test/gtx/gtx_spline.cpp +++ b/test/gtx/gtx_spline.cpp @@ -7,7 +7,6 @@ // File : test/gtx/associated_min_max.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_string_cast.cpp b/test/gtx/gtx_string_cast.cpp index 3e43d2c7..68bb1180 100644 --- a/test/gtx/gtx_string_cast.cpp +++ b/test/gtx/gtx_string_cast.cpp @@ -7,7 +7,6 @@ // File : test/gtx/string_cast.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_vector_angle.cpp b/test/gtx/gtx_vector_angle.cpp index e8306cf6..cc9a3323 100644 --- a/test/gtx/gtx_vector_angle.cpp +++ b/test/gtx/gtx_vector_angle.cpp @@ -7,7 +7,6 @@ // File : test/gtx/vector_angle.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include #include diff --git a/test/gtx/gtx_vector_query.cpp b/test/gtx/gtx_vector_query.cpp index 607694c1..d6d8f9fc 100644 --- a/test/gtx/gtx_vector_query.cpp +++ b/test/gtx/gtx_vector_query.cpp @@ -7,7 +7,6 @@ // File : test/gtx/vector_query.cpp /////////////////////////////////////////////////////////////////////////////////////////////////// -#define GLM_FORCE_RADIANS #include #include