Make a class (maybe "avoidInfo"?) that contains best angle to avoid collision, as well as the various cones and values that were used to arrive at that decision. It should also have a draw() function that will put up the debug "pie chart" to help debug avoidance issues (and get this code out of ship draw).
Make a class (maybe "avoidInfo"?) that contains best angle to avoid collision, as well as the various cones and values that were used to arrive at that decision. It should also have a draw() function that will put up the debug "pie chart" to help debug avoidance issues (and get this code out of ship draw).