Closed cgyurgyik closed 4 years ago
Updated the sectored sphere implementation so that the minimum boundaries are part of the grid. Now, the deltas are determined by (max_bound_X - min_bound_X) / num_X_sections
Fixes the tangential hit bug.
const bool is_tangential_hit = isEqual(intersection_times[0], intersection_times[1])
const bool is_tangential_hit = intersection_times[0] > t && isEqual(intersection_times[0], intersection_times[1])
Updated the sectored sphere implementation so that the minimum boundaries are part of the grid. Now, the deltas are determined by (max_bound_X - min_bound_X) / num_X_sections
Fixes the tangential hit bug.