mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-17 10:53:26 +00:00
added more noexcept
This commit is contained in:
@@ -11,7 +11,7 @@ namespace omath::projectile_prediction
|
||||
{
|
||||
public:
|
||||
[[nodiscard]]
|
||||
constexpr Vector3<float> predict_position(const float time, const float gravity) const
|
||||
constexpr Vector3<float> predict_position(const float time, const float gravity) const noexcept
|
||||
{
|
||||
auto predicted = m_origin + m_velocity * time;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user