Skip to content

Conversation

sb0630
Copy link

@sb0630 sb0630 commented May 8, 2019

If x==0 then x-OBSTACLE_CLEARANCE=-1 which get's converted to the largest possible unsigned int, then this number gets compared to 0, and then the largest possible unsigned int is chosen as the maximum which then gets converted back to an int, making x_range_min -1. Also, x_range_max and z_range_max are closed bounds so their upper bound has to be equal to the largest possible cell index.

If x==0 then x-OBSTACLE_CLEARANCE=-1  which get's converted to the largest possible unsigned int, then this number gets compared to 0, and then the largest possible unsigned int is chosen as the maximum which then gets converted back to an int, making x_range_min -1. Also, x_range_max and z_range_max are closed bounds so their upper bound has to be equal to the largest possible cell index.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant