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

Supports sparse infinite tilemaps with BVH for spatial finding #1080

Merged
merged 5 commits into from
Oct 30, 2022

Conversation

soywiz
Copy link
Member

@soywiz soywiz commented Oct 30, 2022

Fixes #1077 & #334

@codecov-commenter
Copy link

Codecov Report

Base: 48.64% // Head: 52.75% // Increases project coverage by +4.11% 🎉

Coverage data is based on head (a0fd21d) compared to base (1a36dad).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1080      +/-   ##
==========================================
+ Coverage   48.64%   52.75%   +4.11%     
==========================================
  Files        2145     1853     -292     
  Lines      156367   121315   -35052     
  Branches    25024    19006    -6018     
==========================================
- Hits        76059    64002   -12057     
+ Misses      73570    52034   -21536     
+ Partials     6738     5279    -1459     
Flag Coverage Δ
unittests 52.75% <ø> (+4.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...in/com/soywiz/kds/SparseChunkedStackedIntArray2.kt 74.13% <ø> (ø)
...mmonMain/kotlin/com/soywiz/kds/StackedIntArray2.kt 90.47% <ø> (+2.01%) ⬆️
kds/src/commonMain/kotlin/com/soywiz/kds/ds/BVH.kt 35.32% <ø> (ø)
...om/soywiz/kds/SparseChunkedStackedIntArray2Test.kt 97.61% <ø> (ø)
...Test/kotlin/com/soywiz/kds/StackedIntArray2Test.kt 100.00% <ø> (ø)
.../com/soywiz/korge/render/TextureWithBitmapSlice.kt 0.00% <0.00%> (-100.00%) ⬇️
.../animate/serialization/OptimizedStringAllocator.kt 0.00% <0.00%> (-89.48%) ⬇️
...rge/animate/serialization/AnLibraryDeserializer.kt 0.00% <0.00%> (-79.56%) ⬇️
...korge/animate/serialization/AnLibrarySerializer.kt 0.00% <0.00%> (-77.90%) ⬇️
...n/com/soywiz/korim/vector/ShapeRasterizerMethod.kt 0.00% <0.00%> (-66.67%) ⬇️
... and 171 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@soywiz soywiz merged commit ea563da into main Oct 30, 2022
@soywiz soywiz mentioned this pull request Nov 5, 2022
@soywiz soywiz deleted the feature/sparse.infinite.tilemaps branch October 4, 2023 19:10
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.

Unlimited Size Tilemap: ArrayIndexOutOfBoundsException
2 participants