|
Blender V5.3
|
#include "DNA_object_types.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ui |
Macros | |
| #define | MOD_WVG_ZEROFLOOR 1.0e-32f |
Functions | |
| void | blender::weightvg_do_map (int num, float *new_w, short falloff_type, const bool do_invert, CurveMapping *cmap, RNG *rng) |
| void | blender::weightvg_do_mask (const ModifierEvalContext *ctx, const int num, const int *indices, float *org_w, const float *new_w, Object *ob, Mesh *mesh, const float fact, const char defgrp_name[MAX_VGROUP_NAME], Scene *, Tex *texture, const int tex_use_channel, const int tex_mapping, Object *tex_map_object, const char *text_map_bone, const char *tex_uvlayer_name, const bool invert_vgroup_mask) |
| void | blender::weightvg_update_vg (MDeformVert *dvert, int defgrp_idx, MDeformWeight **dws, int num, const int *indices, const float *weights, const bool do_add, const float add_thresh, const bool do_rem, const float rem_thresh, const bool do_normalize) |
| void | blender::weightvg_ui_common (const bContext *C, PointerRNA *ob_ptr, PointerRNA *ptr, ui::Layout &layout) |
| #define MOD_WVG_ZEROFLOOR 1.0e-32f |
We cannot divide by zero (what a surprise...). So if -MOD_WEIGHTVGROUP_DIVMODE_ZEROFLOOR < weightf < MOD_WEIGHTVGROUP_DIVMODE_ZEROFLOOR, we clamp weightf to this value (or its negative version). Also used to avoid null power factor.
Definition at line 48 of file MOD_weightvg_util.hh.
Referenced by blender::mix_weight().