46 td2d->
loc2d = cursor_location;
51 td2d->
loc[0] = cursor_location[0] * t->
aspect[0];
52 td2d->
loc[1] = cursor_location[1] * t->
aspect[1];
74 aspect_inv[0] = 1.0f / t->
aspect[0];
75 aspect_inv[1] = 1.0f / t->
aspect[1];
77 td2d->
loc2d[0] = td->loc[0] * aspect_inv[0];
78 td2d->
loc2d[1] = td->loc[1] * aspect_inv[1];
155 td->loc = cursor->location;
158 if (cursor->rotation_mode > 0) {
159 td->
ext->
rot = cursor->rotation_euler;
179 td->
ext->
quat = cursor->rotation_quaternion;
void BKE_report(ReportList *reports, eReportType type, const char *message)
void pseudoinverse_m3_m3(float inverse[3][3], const float mat[3][3], float epsilon)
void copy_m3_m3(float m1[3][3], const float m2[3][3])
void unit_m3(float m[3][3])
#define PSEUDOINVERSE_EPSILON
void normalize_m3(float R[3][3]) ATTR_NONNULL()
void copy_qt_qt(float q[4], const float a[4])
MINLINE void copy_v3_v3(float r[3], const float a[3])
void DEG_id_tag_update(ID *id, unsigned int flags)
#define ID_IS_EDITABLE(_id)
Read Guarded memory(de)allocation.
void *(* MEM_callocN)(size_t len, const char *str)
TransDataExtension * data_ext
TransDataContainer * data_container
const c_style_mat & ptr() const