using namespace HDK_Sample;
int *OBJ_Shake::shakeIndirect = 0;
{
if (!shakeIndirect) shakeIndirect = allocIndirect(1);
}
OBJ_Shake::~OBJ_Shake()
{
}
#ifdef SWITCHER_EXAMPLE
static PRM_Name switcherName(
"shakeswitcher");
};
#endif
static PRM_Name OBJjitter(
"jitter",
"Jitter Scale");
{
#ifdef SWITCHER_EXAMPLE
&switcherName, switcher),
#endif
};
{
shake);
return geo;
}
{
}
int
{
unsigned seed;
int modified;
{
return modified;
}
jx =
JX(t); jy =
JY(t); jz =
JZ(t);
jx *= 2*SYSfastRandom(seed) - 1.0;
seed ^= 0xdeadbeef;
jy *= 2*SYSfastRandom(seed) - 1.0;
seed ^= 0xfadedcab;
jz *= 2*SYSfastRandom(seed) - 1.0;
return 1;
}
void
{
0, 1,
0));
}