mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
Marks legacy engine class as final
Prevents further inheritance from the legacy projectile prediction engine class.
This commit is contained in:
@@ -13,9 +13,8 @@
|
||||
|
||||
namespace omath::projectile_prediction
|
||||
{
|
||||
// ReSharper disable once CppClassCanBeFinal
|
||||
template<class EngineTrait = traits::SourceEngineTrait>
|
||||
class ProjPredEngineLegacy : public ProjPredEngineInterface
|
||||
class ProjPredEngineLegacy final : public ProjPredEngineInterface
|
||||
{
|
||||
public:
|
||||
explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step,
|
||||
|
||||
Reference in New Issue
Block a user