#include <maya/MIOStream.h>
#include <maya/MTime.h>
#include <maya/MVector.h>
#include <maya/MObject.h>
#include <maya/MPlug.h>
#include <maya/MDataBlock.h>
#include <maya/MFnPlugin.h>
#include <maya/MPxSpringNode.h>
#define McheckErr(stat, msg) \
if ( MS::kSuccess != stat ) \
{ \
cerr << msg; \
return MS::kFailure; \
}
{
public:
simpleSpring();
~simpleSpring() override;
static void *creator();
double damping, double restLength,
double endMass1, double endMass2,
private:
double factor;
};
inline double simpleSpring::springFactor(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double simpleSpring::end1WeightValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}
inline double simpleSpring::end2WeightValue(
MDataBlock& block )
{
double value = 0.0;
if( status == MS::kSuccess )
return( value );
}