Removed unused code, updated docs.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-06-07 21:49:14 +00:00
parent c74d9dae5f
commit ca66768c9e

View File

@ -76,8 +76,6 @@ void QuadGraph::setStartCoordinate(const CheckLine &cl)
m_quad_filename.c_str()); m_quad_filename.c_str());
return; return;
} }
Vec3 xyz;
spatialToTrack(&xyz, start_point, sector);
} // setStartCoordinate } // setStartCoordinate
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
@ -304,11 +302,10 @@ void QuadGraph::getSuccessors(int node_number, std::vector<unsigned int>& succ)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
/** This function takes absolute coordinates (coordinates in OpenGL /** This function takes absolute coordinates (coordinates in OpenGL
* space) and transforms them into coordinates based on the track. It is * space) and transforms them into coordinates based on the track. The y-axis
* for 2D coordinates, thought it can be used on 3D vectors. The y-axis
* of the returned vector is how much of the track the point has gone * of the returned vector is how much of the track the point has gone
* through, the x-axis is on which side of the road it is. The Z axis * through, the x-axis is on which side of the road it is (relative to a line
* is not changed. * connecting the two center points of a quad). The Y axis is not changed.
* \param dst Returns the results in the X and Z coordinates. * \param dst Returns the results in the X and Z coordinates.
* \param xyz The position of the kart. * \param xyz The position of the kart.
* \param sector The graph node the position is on. * \param sector The graph node the position is on.