1 #include <physics_entity.h> 5 #ifndef GRAVITY_FORCE_H 6 #define GRAVITY_FORCE_H 13 GLfloat m_G = 6.673e-11;
27 void AccumulateForce(
const std::shared_ptr<PhysicsEntity> e1,
const std::shared_ptr<PhysicsEntity> e2, Vector3Gf &F)
const;
35 void AccumulatedFdx(
const std::shared_ptr<PhysicsEntity> e1,
const std::shared_ptr<PhysicsEntity> e2, Eigen::Matrix<GLfloat,3,3> &dF)
const;
void AccumulateForce(const std::shared_ptr< PhysicsEntity > e1, const std::shared_ptr< PhysicsEntity > e2, Vector3Gf &F) const
Definition: gravity_force.cpp:5
void AccumulatedFdx(const std::shared_ptr< PhysicsEntity > e1, const std::shared_ptr< PhysicsEntity > e2, Eigen::Matrix< GLfloat, 3, 3 > &dF) const
Definition: gravity_force.cpp:23
Computes graviational force of attraction between 2 entities.
Definition: gravity_force.h:10
GravityForceGenerator()
Definition: gravity_force.cpp:3