Closed gnxlxnxx closed 3 years ago
Is there a constructor which takes a euclidean vector (angle and magnitude) to construct a Vector, because I can't find one?
If not that'd be a great enhancement.
Sounds like Vector2D::from_angle_and_length(Angle<T>, T) -> Self and 3D equivalent would be a useful addition.
Vector2D::from_angle_and_length(Angle<T>, T) -> Self
exactly
Is there a constructor which takes a euclidean vector (angle and magnitude) to construct a Vector, because I can't find one?
If not that'd be a great enhancement.