VS would like us to return values.

This commit is contained in:
JJ 2015-01-18 19:48:32 -05:00
parent f4224b296a
commit 5465d76d20

View File

@ -152,7 +152,7 @@ float ComparativeDistance(const xyz_location& point1, const xyz_location& point2
* Produces the non square root'ed distance between the two points.
*/
float ComparativeDistance(const xyz_heading& point1, const xyz_heading& point2) {
ComparativeDistance(static_cast<xyz_location>(point1), static_cast<xyz_location>(point2));
return ComparativeDistance(static_cast<xyz_location>(point1), static_cast<xyz_location>(point2));
}
/**
@ -166,7 +166,7 @@ float Distance(const xyz_location& point1, const xyz_location& point2) {
* Produces the distance between the two points.
*/
float Distance(const xyz_heading& point1, const xyz_heading& point2) {
Distance(static_cast<xyz_location>(point1), static_cast<xyz_location>(point2));
return Distance(static_cast<xyz_location>(point1), static_cast<xyz_location>(point2));
}
/**