Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 317 Lines • ▼ Show 20 Lines | typedef struct Object { | ||||
| float rot[3], drot[3]; | float rot[3], drot[3]; | ||||
| /** Quaternion rotation. */ | /** Quaternion rotation. */ | ||||
| float quat[4], dquat[4]; | float quat[4], dquat[4]; | ||||
| /** Axis angle rotation - axis part. */ | /** Axis angle rotation - axis part. */ | ||||
| float rotAxis[3], drotAxis[3]; | float rotAxis[3], drotAxis[3]; | ||||
| /** Axis angle rotation - angle part. */ | /** Axis angle rotation - angle part. */ | ||||
| float rotAngle, drotAngle; | float rotAngle, drotAngle; | ||||
| /** Final world-space matrix with constraints & animsys applied. */ | /** Final world-space matrix with constraints & animsys applied. */ | ||||
| float obmat[4][4]; | float object_to_world[4][4]; | ||||
| /** Inverse result of parent, so that object doesn't 'stick' to parent. */ | /** Inverse result of parent, so that object doesn't 'stick' to parent. */ | ||||
| float parentinv[4][4]; | float parentinv[4][4]; | ||||
| /** Inverse result of constraints. | /** Inverse result of constraints. | ||||
| * doesn't include effect of parent or object local transform. */ | * doesn't include effect of parent or object local transform. */ | ||||
| float constinv[4][4]; | float constinv[4][4]; | ||||
| /** | /** | ||||
| * Inverse matrix of 'obmat' for any other use than rendering! | * Inverse matrix of 'obmat' for any other use than rendering! | ||||
| * | * | ||||
| * \note this isn't assured to be valid as with 'obmat', | * \note this isn't assured to be valid as with 'obmat', | ||||
| * before using this value you should do: `invert_m4_m4(ob->imat, ob->obmat)` | * before using this value you should do: `invert_m4_m4(ob->imat, ob->object_to_world)` | ||||
| */ | */ | ||||
| float imat[4][4]; | float imat[4][4]; | ||||
| /** Copy of Base's layer in the scene. */ | /** Copy of Base's layer in the scene. */ | ||||
| unsigned int lay DNA_DEPRECATED; | unsigned int lay DNA_DEPRECATED; | ||||
| /** Copy of Base. */ | /** Copy of Base. */ | ||||
| short flag; | short flag; | ||||
| ▲ Show 20 Lines • Show All 465 Lines • Show Last 20 Lines | |||||