#include <stddef.h>
using namespace HDK_Sample;
void
{
"hdk_pointwave",
"Point Wave",
1,
1,
0));
}
};
};
{
}
:
SOP_Node(net, name, op), myGroup(NULL)
{
mySopFlags.setManagesDataIDs(true);
}
SOP_PointWave::~SOP_PointWave() {}
{
context,
myGroup,
alone,
true,
0,
-1,
true,
false,
true,
0
);
}
{
float phase = PHASE(t);
float amp = AMP(t);
float period = PERIOD(t);
{
p.
y() += SYSsin( (p.
x() / period + phase) *
M_PI * 2 ) * amp;
}
if (!myGroup || !myGroup->
isEmpty())
}