cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 2e8d7ba878 refactor(hatch): collapse repeated reflect_xy_point calls
The Hatch boundary-mirror transform called
`crate::scene::transform::reflect_xy_point(&mut x.x, &mut x.y, p1, p2)`
nine times with rustfmt expanding each long-path call into a six-line
block. Total: ~55 lines for nine reflects.

Add a local `use crate::scene::transform::reflect_xy_point as reflect;`
at the top of the closure so each reflect collapses to a single line.

-19 lines, no behavior change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 17:24:18 +03:00
..
app refactor(entities): collocate ui_name + dxf_name into entities/names.rs 2026-05-26 17:18:47 +03:00
command cargo fmt 2026-05-12 10:36:15 +03:00
entities refactor(hatch): collapse repeated reflect_xy_point calls 2026-05-26 17:24:18 +03:00
io chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
modules refactor(common): unify bulge → arc math into BulgeArc 2026-05-23 23:42:26 +03:00
scene refactor(entities): Solid3D/Region/Body accessor trio in entities/solid3d.rs 2026-05-26 17:22:02 +03:00
shaders perf(wire): switch wire pipeline to instanced rendering 2026-05-23 09:52:23 +03:00
snap chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
ui chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
lib.rs feat: in-app update notice — checks GitHub releases on startup 2026-05-16 19:55:57 +03:00
linetypes.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
main.rs chore(release): drop flatpak, add macOS .dmg, hide Windows console 2026-05-20 21:13:02 +03:00
patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
update_check.rs chore(deps): bump to latest stable versions 2026-05-23 22:21:30 +03:00