From eaf3cf30569e00525e2b4803d4e95fab257fc78c Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 15 Mar 2014 21:45:28 +0100 Subject: [PATCH] Added missing GLM_FUNC_DECL --- glm/detail/func_exponential.inl | 6 +-- glm/detail/func_geometric.inl | 8 ++-- glm/detail/type_mat2x3.hpp | 2 +- glm/gtc/matrix_access.hpp | 8 ++-- glm/gtc/matrix_inverse.hpp | 4 +- glm/gtc/noise.hpp | 6 +-- glm/gtx/associated_min_max.hpp | 12 ++--- glm/gtx/closest_point.hpp | 2 +- glm/gtx/color_space.hpp | 12 ++--- glm/gtx/color_space_YCoCg.hpp | 8 ++-- glm/gtx/component_wise.hpp | 8 ++-- glm/gtx/dual_quaternion.hpp | 40 ++++++++-------- glm/gtx/euler_angles.hpp | 30 ++++++------ glm/gtx/extented_min_max.hpp | 72 ++++++++--------------------- glm/gtx/extented_min_max.inl | 48 ++++--------------- glm/gtx/fast_exponential.hpp | 14 +++--- glm/gtx/fast_trigonometry.hpp | 26 +++++------ glm/gtx/gradient_paint.hpp | 4 +- glm/gtx/gradient_paint.inl | 4 +- glm/gtx/handed_coordinate_space.hpp | 4 +- glm/gtx/integer.hpp | 20 ++++---- glm/gtx/intersect.hpp | 12 ++--- glm/gtx/log_base.hpp | 2 +- glm/gtx/matrix_cross_product.hpp | 4 +- glm/gtx/matrix_interpolation.hpp | 8 ++-- glm/gtx/matrix_major_storage.hpp | 24 +++++----- glm/gtx/matrix_operation.hpp | 18 ++++---- glm/gtx/matrix_query.hpp | 16 +++---- glm/gtx/matrix_query.inl | 47 ++++--------------- glm/gtx/matrix_transform_2d.hpp | 10 ++-- glm/gtx/matrix_transform_2d.inl | 12 ++--- glm/gtx/mixed_product.hpp | 2 +- glm/gtx/multiple.hpp | 4 +- glm/gtx/norm.hpp | 20 ++++---- glm/gtx/normal.hpp | 4 +- glm/gtx/normalize_dot.hpp | 4 +- glm/gtx/optimum_pow.hpp | 14 +++--- glm/gtx/orthonormalize.hpp | 6 +-- glm/gtx/perpendicular.hpp | 2 +- glm/gtx/polar_coordinates.hpp | 4 +- glm/gtx/projection.hpp | 2 +- glm/gtx/quaternion.hpp | 36 +++++++-------- glm/gtx/rotate_normalized_axis.hpp | 4 +- glm/gtx/rotate_vector.hpp | 20 ++++---- glm/gtx/string_cast.hpp | 2 +- glm/gtx/transform.hpp | 6 +-- glm/gtx/transform2.hpp | 18 ++++---- glm/gtx/vector_angle.hpp | 6 +-- glm/gtx/vector_query.hpp | 12 ++--- glm/gtx/vector_query.inl | 12 ++--- 50 files changed, 287 insertions(+), 382 deletions(-) diff --git a/glm/detail/func_exponential.inl b/glm/detail/func_exponential.inl index 08f3ba4c..75537589 100644 --- a/glm/detail/func_exponential.inl +++ b/glm/detail/func_exponential.inl @@ -45,7 +45,7 @@ namespace detail struct compute_log2 { template - T operator() (T const & Value) const + GLM_FUNC_QUALIFIER T operator() (T const & Value) const { return static_cast(::std::log(Value)) * static_cast(1.4426950408889634073599246810019); } @@ -54,7 +54,7 @@ namespace detail template