33 #define DRIVER_TARGETS_LOOPER_BEGIN(dvar) \
35 DriverTarget *dtar = &dvar->targets[0]; \
37 for (; tarIndex < MAX_DRIVER_TARGETS; tarIndex++, dtar++)
40 #define DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar) \
42 DriverTarget *dtar = &dvar->targets[0]; \
44 for (; tarIndex < dvar->num_targets; tarIndex++, dtar++)
47 #define DRIVER_TARGETS_LOOPER_END \
71 float mat[4][4],
int auto_order,
int rotation_mode,
int channel,
bool angles,
float r_buf[4]);
129 bool varname_changed);
float evaluate_driver(struct PathResolvedRNA *anim_rna, struct ChannelDriver *driver, struct ChannelDriver *driver_orig, const struct AnimationEvalContext *anim_eval_context)
void driver_variable_unique_name(struct DriverVar *dvar)
void BKE_driver_invalidate_expression(struct ChannelDriver *driver, bool expr_changed, bool varname_changed)
bool BKE_driver_has_simple_expression(struct ChannelDriver *driver)
void driver_variables_copy(struct ListBase *dst_vars, const struct ListBase *src_vars)
bool driver_get_variable_property(struct ChannelDriver *driver, struct DriverTarget *dtar, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop, int *r_index)
float driver_get_variable_value(struct ChannelDriver *driver, struct DriverVar *dvar)
void BKE_driver_target_matrix_to_rot_channels(float mat[4][4], int auto_order, int rotation_mode, int channel, bool angles, float r_buf[4])
bool BKE_driver_expression_depends_on_time(struct ChannelDriver *driver)
struct DriverVar * driver_add_new_variable(struct ChannelDriver *driver)
void driver_free_variable_ex(struct ChannelDriver *driver, struct DriverVar *dvar)
void fcurve_free_driver(struct FCurve *fcu)
void driver_free_variable(struct ListBase *variables, struct DriverVar *dvar)
void driver_change_variable_type(struct DriverVar *dvar, int type)
void driver_variable_name_validate(struct DriverVar *dvar)
struct ChannelDriver * fcurve_copy_driver(const struct ChannelDriver *driver)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type