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_Crease |
Functions | |
Transform (Crease) Element | |
static void | transdata_elem_crease (const TransInfo *UNUSED(t), const TransDataContainer *UNUSED(tc), TransData *td, const float crease) |
static void | transdata_elem_crease_fn (void *__restrict iter_data_v, const int iter, const TaskParallelTLS *__restrict UNUSED(tls)) |
Transform (Crease) | |
static void | applyCrease (TransInfo *t, const int UNUSED(mval[2])) |
static void | initCrease_ex (TransInfo *t, int mode) |
void | initEgdeCrease (TransInfo *t) |
void | initVertCrease (TransInfo *t) |
Definition at line 73 of file transform_mode_edge_crease.c.
References applyNumInput(), BLI_parallel_range_settings_defaults(), BLI_snprintf(), BLI_task_parallel_range(), Freestyle::c, CLAMP_MAX, TransDataArgs_Crease::crease, data, TransDataContainer::data, TransDataContainer::data_len, ED_area_status_text(), FOREACH_TRANS_DATA_CONTAINER, hasNumInput(), NUM_STR_REP_LEN, outputNumInput(), recalcData(), str, t, TransDataArgs_Crease::tc, TD_SKIP, TIP_, transdata_elem_crease(), transdata_elem_crease_fn(), TRANSDATA_THREAD_LIMIT, transform_snap_increment(), and UI_MAX_DRAW_STR.
Referenced by initCrease_ex().
Definition at line 139 of file transform_mode_edge_crease.c.
References applyCrease(), B_UNIT_NONE, copy_v3_fl(), initMouseInputMode(), INPUT_SPRING_DELTA, t, T_NO_CONSTRAINT, and T_NO_PROJECT.
Referenced by initEgdeCrease(), and initVertCrease().
Definition at line 158 of file transform_mode_edge_crease.c.
References initCrease_ex(), t, and TFM_EDGE_CREASE.
Referenced by transform_mode_init().
Definition at line 163 of file transform_mode_edge_crease.c.
References initCrease_ex(), t, and TFM_VERT_CREASE.
Referenced by transform_mode_init().
|
static |
Definition at line 42 of file transform_mode_edge_crease.c.
References CLAMP, TransData::factor, and NULL.
Referenced by applyCrease(), and transdata_elem_crease_fn().
|
static |
Definition at line 55 of file transform_mode_edge_crease.c.
References data, TD_SKIP, and transdata_elem_crease().
Referenced by applyCrease().