Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/various refactorings #68

Merged
merged 32 commits into from
Feb 11, 2025
Merged

Conversation

piellardj
Copy link
Member

@piellardj piellardj commented Feb 9, 2025

This PR:

  • contains optimizations of the IHeightmap.sampleHeightmap() API to use TypedArrays, which are more efficiently transferred
  • removes lots of unused code
  • explicitly names all threejs object to make debugging easier
  • contains various refactorings and renamings to harmonize vocabulary (chunk = 3D, patch = 2D)

Float32Array are Transferrable and easily serializable so it is preferable
BREAKING CHANGE: IHeightmap API change
BREAKING CHANGE: VoxelmapViewer API change
BREAKING CHANGE: IHeightmap API change
BREAKING CHANGE: IHeightmap and IVoxelmap changes
BREAKING CHANGE: change VoxelmapViewer API
@piellardj piellardj requested a review from Sceat February 9, 2025 19:44
@piellardj piellardj self-assigned this Feb 9, 2025
@piellardj piellardj marked this pull request as draft February 10, 2025 12:10
@piellardj piellardj marked this pull request as ready for review February 10, 2025 12:28
@Sceat
Copy link
Member

Sceat commented Feb 11, 2025

/merge

Copy link

Success! Fast forwarded master to refactor/various_refactorings! git checkout master && git merge refactor/various_refactorings --ff-only

@github-actions github-actions bot merged commit a859427 into master Feb 11, 2025
2 checks passed
@piellardj piellardj deleted the refactor/various_refactorings branch February 11, 2025 19:13
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.

2 participants