Repository navigation
Voxel Frontier: world physics, meshing and raycasting - #4
Conversation
…d chunk coordinates
…th deterministic tests
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 56d9c912a3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| } | ||
| if (edits && typeof edits === 'object' && !Array.isArray(edits)) { | ||
| for (const [id, kind] of Object.entries(edits).slice(0, 10000)) { |
There was a problem hiding this comment.
Preserve all valid saved edits during replay
When a world contains more than 10,000 distinct edited coordinates, this truncates otherwise valid persisted edits based on insertion order. The omitted blocks revert to generated terrain on reload, and the next edit calls exportEdits() and overwrites local storage without those entries, permanently losing them. The playable volume supports well over 10,000 edits and the serialized data is already bounded by local-storage capacity, so valid entries should not be silently sliced off.
Useful? React with 👍 / 👎.
Integrates voxel engine core and tests. Requires exact-head green CI and conflict-free squash merge.