Blender
V3.3
|
#include <stdlib.h>
#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_task.h"
#include "BKE_context.h"
#include "BKE_unit.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "BLT_translation.h"
#include "transform.h"
#include "transform_convert.h"
#include "transform_snap.h"
#include "transform_mode.h"
Go to the source code of this file.
Classes | |
struct | TransDataArgs_BevelWeight |
Functions | |
Transform (Bevel Weight) Element | |
static void | transdata_elem_bevel_weight (const TransInfo *UNUSED(t), const TransDataContainer *UNUSED(tc), TransData *td, const float weight) |
static void | transdata_elem_bevel_weight_fn (void *__restrict iter_data_v, const int iter, const TaskParallelTLS *__restrict UNUSED(tls)) |
Transform (Bevel Weight) | |
static void | applyBevelWeight (TransInfo *t, const int UNUSED(mval[2])) |
void | initBevelWeight (TransInfo *t) |
Definition at line 72 of file transform_mode_edge_bevelweight.c.
References applyNumInput(), BLI_parallel_range_settings_defaults(), BLI_snprintf(), BLI_task_parallel_range(), Freestyle::c, CLAMP_MAX, data, TransDataContainer::data, TransDataContainer::data_len, ED_area_status_text(), FOREACH_TRANS_DATA_CONTAINER, hasNumInput(), NUM_STR_REP_LEN, outputNumInput(), recalcData(), str, t, TransDataArgs_BevelWeight::tc, TD_SKIP, TIP_, transdata_elem_bevel_weight(), transdata_elem_bevel_weight_fn(), TRANSDATA_THREAD_LIMIT, transform_snap_increment(), UI_MAX_DRAW_STR, and TransDataArgs_BevelWeight::weight.
Referenced by initBevelWeight().
Definition at line 138 of file transform_mode_edge_bevelweight.c.
References applyBevelWeight(), B_UNIT_NONE, copy_v3_fl(), initMouseInputMode(), INPUT_SPRING_DELTA, t, T_NO_CONSTRAINT, T_NO_PROJECT, and TFM_BWEIGHT.
Referenced by transform_mode_init().
|
static |
Definition at line 42 of file transform_mode_edge_bevelweight.c.
References CLAMP, TransData::factor, and NULL.
Referenced by applyBevelWeight(), and transdata_elem_bevel_weight_fn().
|
static |
Definition at line 54 of file transform_mode_edge_bevelweight.c.
References data, TD_SKIP, and transdata_elem_bevel_weight().
Referenced by applyBevelWeight().