https://github.com/xbpeng/DeepTerrainRL
Tip revision: ed82e2ebe5f14fa875cc3d0a2180c64980408e8f authored by Glen on 19 October 2016, 17:49:36 UTC
Update README.md
Update README.md
Tip revision: ed82e2e
SimBox.h
#pragma once
#include "sim/SimObj.h"
class cSimBox : public cSimObj
{
public:
struct tParams
{
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
tParams();
eType mType;
double mMass;
double mFriction;
tVector mPos;
tVector mVel;
tVector mSize;
tVector mAxis;
double mTheta;
};
cSimBox();
virtual ~cSimBox();
virtual void Init(std::shared_ptr<cWorld> world, const tParams& params);
tVector GetSize() const;
virtual eShape GetShape() const;
protected:
};