Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Is it a region? is it a variable? is it a filter?
It's all of them!
This pr introduces a cuboid variable type:
This variable can be used in most places that accept a region or filter, but it is also mutable via actions just like other variables.
Additionally these can be be used as an indexed variable (ie: like arrays):
the "indexes" would be
min_x = 0, min_y = 1, min_z = 2, max_x = 3, max_y =4, max_z = 5
, but generally speaking you're better off just using the sub-variables ieyour_cuboid.min_x
instead.One such of a time when addressing with indexes could be used would be copying, eg: