1
2
3
4
5
6
7
8
9
10
11
use crate::components::Vector3D;

use super::Arrows3D;

impl Arrows3D {
    /// Creates new 3D arrows pointing in the given directions, with a base at the origin (0, 0, 0).
    #[inline]
    pub fn from_vectors(vectors: impl IntoIterator<Item = impl Into<Vector3D>>) -> Self {
        Self::new(vectors)
    }
}