50 const float src_mat[4][4],
55 if (src_axis == dst_axis) {
69 const float mat[4][4],
73 const bool is_select = (select_id != -1);
100 float mat_rotate[4][4];
110 float mat_rotate[4][4];
120 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], const 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)
@ 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, const 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)