Blender  V3.3
Classes
transform_mode_tosphere.c File Reference
#include <stdlib.h>
#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_task.h"
#include "MEM_guardedalloc.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  ToSphereInfo
 
struct  TransDataArgs_ToSphere
 

Functions

To Sphere Utilities
static void to_sphere_radius_update (TransInfo *t)
 
Transform (ToSphere) Element
static void transdata_elem_to_sphere (const TransInfo *UNUSED(t), const TransDataContainer *tc, TransData *td, const float ratio, const struct ToSphereInfo *to_sphere_info, const bool is_local_center, const bool is_data_space)
 
static void transdata_elem_to_sphere_fn (void *__restrict iter_data_v, const int iter, const TaskParallelTLS *__restrict UNUSED(tls))
 
Transform (ToSphere)
static void applyToSphere (TransInfo *t, const int UNUSED(mval[2]))
 
void initToSphere (TransInfo *t)
 

Function Documentation

◆ applyToSphere()

static void applyToSphere ( TransInfo t,
const int   UNUSEDmval[2] 
)
static

◆ initToSphere()

void initToSphere ( TransInfo t)

◆ to_sphere_radius_update()

static void to_sphere_radius_update ( TransInfo t)
static

◆ transdata_elem_to_sphere()

static void transdata_elem_to_sphere ( const TransInfo UNUSEDt,
const TransDataContainer tc,
TransData td,
const float  ratio,
const struct ToSphereInfo to_sphere_info,
const bool  is_local_center,
const bool  is_data_space 
)
static

◆ transdata_elem_to_sphere_fn()

static void transdata_elem_to_sphere_fn ( void *__restrict  iter_data_v,
const int  iter,
const TaskParallelTLS *__restrict   UNUSEDtls 
)
static

Definition at line 148 of file transform_mode_tosphere.c.

References data, TD_SKIP, and transdata_elem_to_sphere().

Referenced by applyToSphere().