#ifndef __MLX_MATHS_UTILS__ #define __MLX_MATHS_UTILS__ namespace mlx { template [[nodiscard]] constexpr T Mod(T x, T y) noexcept; template [[nodiscard]] constexpr T DegreeToRadian(T degrees) noexcept; template [[nodiscard]] constexpr T RadianToDegree(T radians) noexcept; template [[nodiscard]] constexpr T Clamp(T value, T min, T max) noexcept; template [[nodiscard]] constexpr T Lerp(const T& from, const T& to, const T2& interpolation) noexcept; } #include #endif