btds_math.cpp
// basically projection will be in the range of the original line
basically projection will be in the range of the original line
basically projection will be in the range of the original line
bool Line2d::isPointAlongLine(const float2& ptest) const
	{
		float dotRes = projPointLineFloat(ptest);
		return dotRes >= 0.0f && dotRes <= Length(getVec());
	}
bool Line2d :: isPointAlongLine ( const float2 & ptest ) const { float dotRes = projPointLineFloat ( ptest ) ; return dotRes >= 0.0f && dotRes <= Length ( getVec ( ) ) ; }
basically projection will be in the range of the original line
basically projection will be in the range of the original line
// even for degenerate testing it will show as above.