Skip to content

Commit acceeaf

Browse files
committed
Plane: API consistency, unit-length invariant enforced, tests
1 parent 2cbbc6f commit acceeaf

File tree

2 files changed

+229
-105
lines changed

2 files changed

+229
-105
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6464
- Geometric types API consistency ([#827](https://github.com/godot-rust/godot-rust/pull/827))
6565
- Rename basis vectors `x, y, z` -> `a, b, c`
6666
- Pass by value/ref consistency
67+
- `Plane` invariants ([#874](https://github.com/godot-rust/godot-rust/pull/874))
6768
- Other changes (see PRs)
6869
- Method renames
6970
- `{String,Variant}::forget()` -> `leak()` ([#828](https://github.com/godot-rust/godot-rust/pull/828))
@@ -72,6 +73,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7273
- `Basis::to_scale()` -> `scale()`
7374
- `Basis::from_elements()` -> `from_rows()`
7475
- `Transform2D::from_axis_origin()` -> `from_basis_origin()`
76+
- `Plane::intersects_*()` -> `intersect_*()` ([#874](https://github.com/godot-rust/godot-rust/pull/874))
77+
- `Plane::normalize()` -> `normalized()`
78+
- `Plane::has_point()` -> `contains_point()` + `contains_point_eps()`
7579
- Relax `Dictionary` key bounds: `ToVariant` -> `OwnedToVariant` ([#809](https://github.com/godot-rust/godot-rust/pull/809))
7680
- `#[inherit]` is now optional and defaults to `Reference` ([#705](https://github.com/godot-rust/godot-rust/pull/705))
7781
- `Instance` and `TInstance` now use `Own=Shared` by default ([#823](https://github.com/godot-rust/godot-rust/pull/823))

0 commit comments

Comments
 (0)