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;
#define PSEUDOINVERSE_EPSILON
#define ID_IS_EDITABLE(_id)
Read Blender memory allocation and freeing.
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
MINLINE void copy_v3_v3(float r[3], const float a[3])
void copy_m3_m3(float m1[3][3], const float m2[3][3])
void normalize_m3(float R[3][3]) ATTR_NONNULL()
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
void copy_qt_qt(float q[4], const float a[4])
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
MatBase< float, 3, 3 > float3x3
void unit_m3(float m[3][3])
void pseudoinverse_m3_m3(float inverse[3][3], const float mat[3][3], float epsilon)
void * MEM_new_array_zeroed(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
const c_style_mat & ptr() const
ListBaseT< SpaceLink > spacedata
eSpaceSeq_RegionType mainb
float rotation_quaternion[4]