From Björn Blissing, "I found a minor error in documentation in include/osg/Math.

Function: absolute() had the same description as the function minimum()

I removed the erroneous text."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2014-06-25 08:21:13 +00:00
parent 81c23564b5
commit 71f7a74091

View File

@ -34,10 +34,6 @@ const double LN_2 = 0.69314718055994530942;
const double INVLN_2 = 1.0 / LN_2; const double INVLN_2 = 1.0 / LN_2;
/** return the minimum of two values, equivalent to std::min.
* std::min not used because of STL implementation under IRIX not
* containing std::min.
*/
template<typename T> template<typename T>
inline T absolute(T v) { return v<(T)0?-v:v; } inline T absolute(T v) { return v<(T)0?-v:v; }