20 lines
453 B
C++
20 lines
453 B
C++
#ifndef DUST3D_GENERIC_SPINE_AND_PSEUDO_PHYSICS_H
|
|
#define DUST3D_GENERIC_SPINE_AND_PSEUDO_PHYSICS_H
|
|
#include <vector>
|
|
|
|
class GenericSpineAndPseudoPhysics
|
|
{
|
|
public:
|
|
GenericSpineAndPseudoPhysics()
|
|
{
|
|
}
|
|
|
|
static void calculateFootHeights(double preferredHeight, double stanceTime, double swingTime,
|
|
std::vector<double> *heights, std::vector<double> *moveOffsets=nullptr);
|
|
|
|
private:
|
|
static const double g;
|
|
};
|
|
|
|
#endif
|