nyx_space::utilsFunction projv
Source pub fn projv(a: &Vector3<f64>, b: &Vector3<f64>) -> Vector3<f64>
Expand description
Returns the projection of a onto b
§Arguments
a
- The vector to be projected.
b
- The vector onto which a
is to be projected.
§Returns
- A new vector that is the projection of
a
onto b
.