File tree Expand file tree Collapse file tree 6 files changed +12
-25
lines changed
Expand file tree Collapse file tree 6 files changed +12
-25
lines changed Original file line number Diff line number Diff line change 1+ ## 0.25.0
2+
3+ - The ` Voxels ` shape now uses a sparse storage internally.
4+ - Remove ` Voxels::try_set_voxel ` . Use ` ::set_voxel ` instead.
5+ - The ` Voxels::domain ` function returns values instead of references now.
6+ - Removed ` Voxels::extents ` and ` Voxels::domain_center ` . They can be obtained
7+ from ` Voxels::local_aabb ` .
8+
19## 0.24.0
210
311- Fixed same-machine determinism of the re-exported hashmap when building without the ` enhanced-determinism ` feature.
Original file line number Diff line number Diff line change 11[package ]
22name = " parry2d-f64"
3- version = " 0.24 .0"
3+ version = " 0.25 .0"
44authors = [" Sébastien Crozet <developer@crozet.re>" ]
55
66description = " 2 dimensional collision detection library in Rust. 64-bit precision version."
Original file line number Diff line number Diff line change 11[package ]
22name = " parry2d"
3- version = " 0.24 .0"
3+ version = " 0.25 .0"
44authors = [" Sébastien Crozet <developer@crozet.re>" ]
55
66description = " 2 dimensional collision detection library in Rust."
Original file line number Diff line number Diff line change 11[package ]
22name = " parry3d-f64"
3- version = " 0.24 .0"
3+ version = " 0.25 .0"
44authors = [" Sébastien Crozet <developer@crozet.re>" ]
55
66description = " 3 dimensional collision detection library in Rust. 64-bits precision version."
Original file line number Diff line number Diff line change 11[package ]
22name = " parry3d"
3- version = " 0.24 .0"
3+ version = " 0.25 .0"
44authors = [" Sébastien Crozet <developer@crozet.re>" ]
55
66description = " 3 dimensional collision detection library in Rust."
Original file line number Diff line number Diff line change @@ -278,27 +278,6 @@ impl Voxels {
278278 & self . chunk_bvh
279279 }
280280
281- // /// The extents of the total axis-aligned volume covered by this [`Voxels`] shape.
282- // ///
283- // /// This accounts for all the voxels reserved in the internal buffer of `self`, including empty
284- // /// ones.
285- // pub fn extents(&self) -> Vector<Real> {
286- // self.dimensions()
287- // .cast::<Real>()
288- // .component_mul(&self.voxel_size)
289- // }
290-
291- // /// The center of this shape’s domain (accounting for both empty and filled voxels).
292- // pub fn domain_center(&self) -> Point<Real> {
293- // (self
294- // .domain_mins
295- // .coords
296- // .cast::<Real>()
297- // .component_mul(&self.voxel_size)
298- // + self.extents() / 2.0)
299- // .into()
300- // }
301-
302281 /// The semi-open range of voxels in shape.
303282 ///
304283 /// This provides conservative bounds on the range of voxel indices that might be set to filled.
You can’t perform that action at this time.
0 commit comments