From: <hik...@us...> - 2012-02-07 05:16:11
|
Revision: 10822 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=10822&view=rev Author: hikerstk Date: 2012-02-07 05:16:05 +0000 (Tue, 07 Feb 2012) Log Message: ----------- Updated comment. Modified Paths: -------------- main/branches/reverse_mode/src/tracks/graph_node.cpp Modified: main/branches/reverse_mode/src/tracks/graph_node.cpp =================================================================== --- main/branches/reverse_mode/src/tracks/graph_node.cpp 2012-02-07 05:15:19 UTC (rev 10821) +++ main/branches/reverse_mode/src/tracks/graph_node.cpp 2012-02-07 05:16:05 UTC (rev 10822) @@ -38,9 +38,9 @@ m_distance_from_start = -1.0f; const Quad &quad = QuadSet::get()->getQuad(m_quad_index); - // FIXME: the following values should depend on the actual orientation + // The following values should depend on the actual orientation // of the quad. ATM we always assume that indices 0,1 are the lower end, - // and 2,3 are the upper end. + // and 2,3 are the upper end (or the reverse if reverse mode is selected). // The width is the average width at the beginning and at the end. m_width = ( (quad[1]-quad[0]).length() + (quad[3]-quad[2]).length() ) * 0.5f; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |