Skip to content

Commit cfa1448

Browse files
committed
made Plane Copy
1 parent ed01ab0 commit cfa1448

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [0.6.1] - 2025-08-07
7+
8+
- Made `Plane` `Copy`
9+
610
## [0.6.0] - 2025-08-02
711

812
- Added `Plane::points_dist_std_dev`

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "modern-icp"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = "2024"
55
authors = ["Marc-Stefan Cassola"]
66
categories = ["graphics", "algorithms", "mathematics"]

src/plane.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use statistical::standard_deviation;
55
use crate::{MaskedPointCloud, compute_centroid, demean_into_matrix};
66

77
/// Plane that is described by the equation `normal.dot(point_on_plane.coords) - constant == 0`
8+
#[derive(Clone, Copy)]
89
pub struct Plane<T: Scalar + RealField + Copy, const D: usize> {
910
pub normal: SVector<T, D>,
1011
pub constant: T,

0 commit comments

Comments
 (0)