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];
72 aspect_inv[0] = 1.0f / t->
aspect[0];
73 aspect_inv[1] = 1.0f / t->
aspect[1];
75 td2d->
loc2d[0] = td->
loc[0] * aspect_inv[0];
76 td2d->
loc2d[1] = td->
loc[1] * aspect_inv[1];
159 td_ext->
quat =
nullptr;
164 td_ext->
rot =
nullptr;
167 td_ext->
quat =
nullptr;
173 td_ext->
rot =
nullptr;
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_calloc_arrayN(size_t len, size_t size, const char *str)
void * MEM_callocN(size_t len, const char *str)
MatBase< float, 3, 3 > float3x3
float rotation_quaternion[4]