Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounding box #2564

Merged
merged 2 commits into from
Jul 18, 2019
Merged

Bounding box #2564

merged 2 commits into from
Jul 18, 2019

Conversation

Dunbaratu
Copy link
Member

fix to broken 2-corner logic (putting 8-corner logic back) in PR #2563

The original 8-corner bounds transform was necessary after all,
so this reverted the "savings" of only doing 2 corners and
put the origianl 8-corner logic back for parts' bounds.

Also, Vessel bounds was always using 2-corner logic and was
wrong all along - this is adding the 8-corner logic to it too.

Special thanks to @RCrockford in kOS discord for warning me
about this when I discussed my plan, thus making me check
again with a more complete test to catch that my idea didn't
really cover all situations (for the 2 corner method to fail
you have to be oriented a specific way relative to the axes,
and on the runway at KSC just so happened to NOT trigger that
case so it wasn't clear that it was wrong till I went into
orbit and tried again there where I could spin all axes.
@Dunbaratu Dunbaratu merged commit 2b9b5d5 into KSP-KOS:develop Jul 18, 2019
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