mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 15:33:26 +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
|
namespace omath::projectile_prediction
|
||||||
{
|
{
|
||||||
// ReSharper disable once CppClassCanBeFinal
|
|
||||||
template<class EngineTrait = traits::SourceEngineTrait>
|
template<class EngineTrait = traits::SourceEngineTrait>
|
||||||
class ProjPredEngineLegacy : public ProjPredEngineInterface
|
class ProjPredEngineLegacy final : public ProjPredEngineInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step,
|
explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step,
|
||||||
|
|||||||
Reference in New Issue
Block a user