mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
Removed useless const references
This commit is contained in:
parent
6d169bccc2
commit
09cbd5f7d6
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user