use super::{SafeArcSinCos, Vec2D, Vec3D};
impl Vec2D {
pub fn angle(&self, other: &Self) -> f64 {
(self.dot(other) / (self.magnitude() * other.magnitude())).acos_safe()
}
}
impl Vec3D {
pub fn angle(&self, other: &Self) -> f64 {
(self.dot(other) / (self.magnitude() * other.magnitude())).acos_safe()
}
}