// SPDX-FileCopyrightText: 2024 Helge Eichhorn <git@helgeeichhorn.de>
//// SPDX-License-Identifier: MPL-2.0
//! Extension traits for `glam` vector types.
useglam::DVec3;usecrate::types::units::Radians;/// Computes the azimuth angle of a vector in the XY plane.
pubtraitAzimuth{/// Returns the azimuth angle in radians, measured from the X axis toward the Y axis.
fnazimuth(&self)-> Radians;}implAzimuth forDVec3{fnazimuth(&self)-> Radians{self.y.atan2(self.x)}}