Make ComputeAngle a free standing function
This commit is contained in:
committed by
Patrick Niklaus
parent
f65dd63210
commit
f68247673a
@@ -468,7 +468,7 @@ void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges(
|
||||
? m_compressed_edge_container.GetFirstEdgeTargetID(e2)
|
||||
: node_w)];
|
||||
|
||||
const double turn_angle = util::ComputeAngle::OfThreeFixedPointCoordinates(
|
||||
const double turn_angle = util::ComputeAngle(
|
||||
first_coordinate, m_node_info_list[node_v], third_coordinate);
|
||||
|
||||
const int turn_penalty = GetTurnPenalty(turn_angle, lua_state);
|
||||
|
||||
Reference in New Issue
Block a user