Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py) Fix related to TinyRenderer object transforms not updating when using collision filtering
20 lines
261 B
C++
20 lines
261 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class cShape
|
|
{
|
|
public:
|
|
enum eShape
|
|
{
|
|
eShapeNull,
|
|
eShapeBox,
|
|
eShapeCapsule,
|
|
eShapeSphere,
|
|
eShapeCylinder,
|
|
eShapePlane,
|
|
eShapeMax,
|
|
};
|
|
|
|
static bool ParseShape(const std::string& str, cShape::eShape& out_shape);
|
|
}; |