#pragma once #include namespace kuiper { namespace maths { template requires(std::floating_point || std::integral) && std::floating_point constexpr inline T aspect_ratio(V width, V height) { return static_cast(width) / static_cast(height); } } // namespace maths } // namespace kuiper