qtrocket/sim/GravityModel.h
Travis Hunter e6bf1fea9b
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc-13, g++-13, ubuntu-latest) (push) Has been cancelled
Revert "Merge pull request #20 from cthunter01/propagator"
This reverts commit 6280d9fb0184275843a8f4406c7293e41e65a639, reversing
changes made to 3c9c8b8c6a2b2e7430ff09efdc2cc0c1996b16ca.
2025-04-16 18:23:28 -06:00

22 lines
409 B
C++

#ifndef SIM_GRAVITYMODEL_H
#define SIM_GRAVITYMODEL_H
// qtrocket headers
#include "utils/math/MathTypes.h"
namespace sim
{
class GravityModel
{
public:
GravityModel() {}
virtual ~GravityModel() {}
virtual Vector3 getAccel(double x, double y, double z) = 0;
Vector3 getAccel(const Vector3& t) { return this->getAccel(t.x(), t.y(), t.z()); }
};
} // namespace sim
#endif // SIM_GRAVITYMODEL_H