Skip to content

Conversation

@gbenson
Copy link

@gbenson gbenson commented Jan 28, 2026

Box2.Size() and Box3.Size() both subtracted the vectors in the wrong order, so the results were always negative.

e.g. a Box2 with points (-1, 4) and (5,-3) would have min=(-1,-3) and max=(5,4), so a Size() of (-6,-7) before this change.

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