36 const float src_mat[4][4],
41 if (src_axis == dst_axis) {
55 const float mat[4][4],
59 const bool is_select = (select_id != -1);
86 float mat_rotate[4][4];
96 float mat_rotate[4][4];
106 const bool is_select = (select_id != -1);
struct Depsgraph * CTX_data_expect_evaluated_depsgraph(const bContext *C)
void mul_m4_m4m3(float R[4][4], const float A[4][4], const float B[3][3])
void copy_m4_m4(float m1[4][4], const float m2[4][4])
void transpose_m3(float R[3][3])
bool mat3_from_axis_conversion_single(int src_axis, int dst_axis, float r_mat[3][3])
struct Depsgraph Depsgraph
Object is a sort of wrapper for general info.
void ED_draw_object_facemap(struct Depsgraph *depsgraph, struct Object *ob, const float col[4], int facemap)
void GPU_matrix_pop(void)
#define GPU_matrix_mul(x)
void GPU_matrix_push(void)
bool GPU_select_load_id(unsigned int id)
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
@ WM_GIZMO_STATE_HIGHLIGHT
const Depsgraph * depsgraph
GizmoGeomInfo wm_gizmo_geom_data_arrow
GizmoGeomInfo wm_gizmo_geom_data_cube
GizmoGeomInfo wm_gizmo_geom_data_dial
void wm_gizmo_geometryinfo_draw(const GizmoGeomInfo *info, const bool UNUSED(select), const float color[4])
void gizmo_color_get(const struct wmGizmo *gz, bool highlight, float r_color[4])
void ED_gizmo_draw_preset_circle(const struct wmGizmo *gz, float mat[4][4], int axis, int select_id)
void ED_gizmo_draw_preset_arrow(const struct wmGizmo *gz, float mat[4][4], int axis, int select_id)
static void ed_gizmo_draw_preset_geometry(const struct wmGizmo *gz, const float mat[4][4], int select_id, const GizmoGeomInfo *info)
void ED_gizmo_draw_preset_box(const struct wmGizmo *gz, float mat[4][4], int select_id)
static void single_axis_convert(int src_axis, const float src_mat[4][4], int dst_axis, float dst_mat[4][4])
void ED_gizmo_draw_preset_facemap(const bContext *C, const struct wmGizmo *gz, Object *ob, const int facemap, int select_id)