Removed useless const references

This commit is contained in:
Christophe Riccio 2016-07-15 23:11:25 +02:00
parent 6d169bccc2
commit 09cbd5f7d6

View File

@ -113,7 +113,7 @@ namespace glm
// atan // atan
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType atan(genType const & y, genType const & x) GLM_FUNC_QUALIFIER genType atan(genType y, genType x)
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atan' only accept floating-point input"); GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atan' only accept floating-point input");
@ -166,7 +166,7 @@ namespace glm
using std::asinh; using std::asinh;
# else # else
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType asinh(genType const & x) GLM_FUNC_QUALIFIER genType asinh(genType x)
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asinh' only accept floating-point input"); GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asinh' only accept floating-point input");
@ -185,7 +185,7 @@ namespace glm
using std::acosh; using std::acosh;
# else # else
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType acosh(genType const & x) GLM_FUNC_QUALIFIER genType acosh(genType x)
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acosh' only accept floating-point input"); GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acosh' only accept floating-point input");
@ -206,7 +206,7 @@ namespace glm
using std::atanh; using std::atanh;
# else # else
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType atanh(genType const & x) GLM_FUNC_QUALIFIER genType atanh(genType x)
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atanh' only accept floating-point input"); GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'atanh' only accept floating-point input");