40 using namespace HDK_Sample;
45 int *OBJ_Shake::shakeIndirect = 0;
78 #ifdef SWITCHER_EXAMPLE
79 static PRM_Name switcherName(
"shakeswitcher");
87 static PRM_Name OBJjitter(
"jitter",
"Jitter Scale");
96 #ifdef SWITCHER_EXAMPLE
98 &switcherName, switcher),
159 jx =
JX(t); jy =
JY(t); jz =
JZ(t);
162 jx *= 2*SYSfastRandom(seed) - 1.0;
165 jy *= 2*SYSfastRandom(seed) - 1.0;
168 jz *= 2*SYSfastRandom(seed) - 1.0;
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
static const char * theChildTableName
OBJ_Shake(OP_Network *net, const char *name, OP_Operator *op)
const OP_NodeFlags & flags() const
bool addOperator(OP_Operator *op, std::ostream *err=nullptr)
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
PRM_API const PRM_Type PRM_XYZ_J
static PRM_Template * getTemplateList(OBJ_ParmsStyle style)
CH_Manager * getChannelManager()
void newObjectOperator(OP_OperatorTable *table)
int applyInputIndependentTransform(OP_Context &context, UT_DMatrix4 &mat) override
fpreal getSample(fpreal t) const
virtual int applyInputIndependentTransform(OP_Context &context, UT_DMatrix4 &mat)
GLuint const GLchar * name
GLenum GLenum GLsizei void * table
PRM_API const PRM_Type PRM_SWITCHER
PRM_API PRM_Default PRMoneDefaults[]
void setTimeDep(bool on_off)
int * allocIndirect(int size=64)
OP_API OP_Director * OPgetDirector()
static OP_TemplatePair * buildTemplatePair(OP_TemplatePair *prevstuff)
void pretranslate(T dx, T dy, T dz=0)