Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project!

## [Supertuxkart-commit] SF.net SVN: supertuxkart:[5481] main/trunk/src/tracks/quad_graph.cpp

 [Supertuxkart-commit] SF.net SVN: supertuxkart:[5481] main/trunk/src/tracks/quad_graph.cpp From: - 2010-06-07 21:49:20 ```Revision: 5481 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=5481&view=rev Author: hikerstk Date: 2010-06-07 21:49:14 +0000 (Mon, 07 Jun 2010) Log Message: ----------- Removed unused code, updated docs. Modified Paths: -------------- main/trunk/src/tracks/quad_graph.cpp Modified: main/trunk/src/tracks/quad_graph.cpp =================================================================== --- main/trunk/src/tracks/quad_graph.cpp 2010-06-07 21:48:22 UTC (rev 5480) +++ main/trunk/src/tracks/quad_graph.cpp 2010-06-07 21:49:14 UTC (rev 5481) @@ -76,8 +76,6 @@ m_quad_filename.c_str()); return; } - Vec3 xyz; - spatialToTrack(&xyz, start_point, sector); } // setStartCoordinate // ----------------------------------------------------------------------------- @@ -304,11 +302,10 @@ //----------------------------------------------------------------------------- /** This function takes absolute coordinates (coordinates in OpenGL - * space) and transforms them into coordinates based on the track. It is - * for 2D coordinates, thought it can be used on 3D vectors. The y-axis + * space) and transforms them into coordinates based on the track. The y-axis * 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 - * is not changed. + * through, the x-axis is on which side of the road it is (relative to a line + * 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 xyz The position of the kart. * \param sector The graph node the position is on. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ```