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