Raw File
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:
};
back to top