Skip to content

Pr/clean up UI code 1062 - #98

Merged
ikpil merged 2 commits into
mainfrom
pr/clean-up-UI-code-1062
Aug 13, 2026
Merged

Pr/clean up UI code 1062#98
ikpil merged 2 commits into
mainfrom
pr/clean-up-UI-code-1062

Conversation

@ikpil

@ikpil ikpil commented Aug 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

ikpil added 2 commits August 14, 2026 01:00
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.
@ikpil
ikpil merged commit c402ac7 into main Aug 13, 2026
10 checks passed
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