tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places.

This commit is contained in:
Azaezel 2017-12-19 16:04:46 -06:00
parent 83449bbc06
commit 491a7dcfdd
20 changed files with 70 additions and 69 deletions

View file

@ -228,7 +228,7 @@ void PolyhedronBoxIntersector< Polyhedron >::_preprocess( const MatrixF& objToWo
Point2F p = _project( i, v2 ); // Second point on line.
if( frontFace != 0 )
swap( p, q );
T3D::swap( p, q );
Point2F normal( - ( p.y - q.y ), p.x - q.x );
normal.normalize();

View file

@ -441,7 +441,7 @@ U32 PlaneSet< T >::clipPolygon( const Point3F* inVertices, U32 inNumVertices, Po
// Make the output of the last iteration the
// input of this iteration.
swap( tempPolygon, clippedPolygon );
T3D::swap( tempPolygon, clippedPolygon );
numTempPolygonVertices = numClippedPolygonVertices;
if( maxOutVertices < numTempPolygonVertices + 1 )

View file

@ -1706,7 +1706,7 @@ bool clipFrustumByPolygon( const Point3F* points, U32 numPoints, const RectI& vi
// Make the output of the last iteration the
// input of this iteration.
swap( tempPolygon, clippedPolygon );
T3D::swap( tempPolygon, clippedPolygon );
numTempPolygonVertices = numClippedPolygonVertices;
// Clip our current remainder of the original polygon