Skip to content

refactor: deduplicate border-loading in GreedyMesher#3

Merged
LachyFS merged 1 commit into
mainfrom
refactor/greedy-border-dedup
Apr 1, 2026
Merged

refactor: deduplicate border-loading in GreedyMesher#3
LachyFS merged 1 commit into
mainfrom
refactor/greedy-border-dedup

Conversation

@LachyFS

@LachyFS LachyFS commented Apr 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Extract 6 near-identical per-face border loading blocks (~84 lines) into a single load_border() helper
  • Called via Face::ALL loop, reducing duplication significantly

Test plan

  • cargo test (72/72 pass)
  • cargo clippy --all-targets -- -D warnings
  • cargo fmt --all -- --check

Extract 6 near-identical per-face border loading blocks into a single
load_border() helper called in a Face::ALL loop.
@LachyFS LachyFS merged commit e60c441 into main Apr 1, 2026
1 check 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