Commit 8026a73a authored by Jan Möbius's avatar Jan Möbius
Browse files

More Xcode 4.3 fixes



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14072 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 963426e7
......@@ -231,15 +231,6 @@ lineIntersection( const VectorT<Scalar,2>& _v0,
* @{ */
//===========================================================================
/// distance from point _p to line (_v0,_v1)
template<class Vec>
typename Vec::value_type
distPointLine( const Vec& _p,
const Vec& _v0,
const Vec& _v1,
Vec* _min_v=0 )
{ return sqrt(distPointLineSquared(_p, _v0, _v1, _min_v)); }
/// squared distance from point _p to line (_v0,_v1)
template<class Vec>
......@@ -250,6 +241,17 @@ distPointLineSquared( const Vec& _p,
Vec* _min_v=0);
/// distance from point _p to line (_v0,_v1)
template<class Vec>
typename Vec::value_type
distPointLine( const Vec& _p,
const Vec& _v0,
const Vec& _v1,
Vec* _min_v=0 )
{ return sqrt(distPointLineSquared(_p, _v0, _v1, _min_v)); }
/// squared distance from point _p to triangle (_v0, _v1, _v2)
template <class Vec>
typename Vec::value_type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment