forked from rsparkyc/ProceduralFairings
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix payload fairing thickness calculation
When the middle of the payload fairing is wider than the base, fairing thickness was incorrectly calculated. This allowed players to effectively cheese the thickness by making the base arbitrarily small, allowing for arbitrarily thin fairings. Now, the fairing thickness should be based on the maximum width of the fairing instead of the base. A little bit of refactoring was required to make this work, since we need the scan data earlier to determine the correct payload fairing width.
- Loading branch information
1 parent
65f80b6
commit 68f3b69
Showing
1 changed file
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters