#include <maya/MMatrix.h>
#include <maya/MPxTransform.h>
#include <maya/MPxTransformationMatrix.h>
#define kRockingTransformNodeID 0x8110B
#define kRockingTransformMatrixID 0x8110C
#define ReturnOnError(status) \
if (MS::kSuccess != status) { \
return status; \
}
{
public:
rockingTransformMatrix();
double getRockInX() const;
void setRockInX( double rock );
protected:
double rockXValue;
};
{
public:
rockingTransformNode();
~rockingTransformNode() override;
rockingTransformMatrix *getRockingTransformMatrix();
static void * creator();
protected:
double rockXValue;
};
class DegreeRadianConverter
{
public:
double degreesToRadians( double degrees );
double radiansToDegrees( double radians );
};