ElectricCoffee / ElectricCoffee/vector
Missing Vector3 methods to be added
- Dominant language
- Rust
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The following methods in `Vector3` have yet to be added:
- [x] `distance(self, other: Self) -> f64` -- Returns the distance between two vectors.
- [x] `slerp` -- Spherical lerp
- [ ] `ortho_normalize(normal: &mut Vector3, tangent: &mut Vector3, binormal: Vector3)` -- Normalizes `normal`. Normalizes `tangent` and makes sure it is orthogonal to `normal`. Normalizes `binormal` and makes sure it is orthogonal to both `normal` and `tangent`.
- [x] `project` -- Projects a vector onto another vector
- [ ] `project_on_plane` -- Projects a vector onto a plane defined by a normal orthogonal to the plane.
- [ ] `rotate_towards` -- Rotates a vector towards a target
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.