Pr/clean up UI code 1062 - #98
Merged
Merged
Conversation
organized UI functions better retina display uses vector font Ported erincatto/box2d@f2086ed to C#.
Follow up the C# port of erincatto/box2d@f2086ed by matching the printf output used by the samples after HUD text moved to ImGui. Extend FormatFloat with printf-style precision, preserve invariant decimal formatting and lowercase boolean text, and correct malformed interpolation in the TOI, prismatic joint, velocity, benchmark, and diagnostic displays. This keeps the visible labels, precision, alignment, and punctuation consistent with the original samples. Add regression coverage for general-format precision. Verified with Debug and Release solution builds and the full net8.0, net9.0, and net10.0 test matrix.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.