Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show First 20 Lines • Show All 782 Lines • ▼ Show 20 Lines | |||||
| void initTransformOrientation(struct bContext *C, TransInfo *t); | void initTransformOrientation(struct bContext *C, TransInfo *t); | ||||
| /* Those two fill in mat and return non-zero on success */ | /* Those two fill in mat and return non-zero on success */ | ||||
| bool createSpaceNormal(float mat[3][3], const float normal[3]); | bool createSpaceNormal(float mat[3][3], const float normal[3]); | ||||
| bool createSpaceNormalTangent(float mat[3][3], const float normal[3], const float tangent[3]); | bool createSpaceNormalTangent(float mat[3][3], const float normal[3], const float tangent[3]); | ||||
| struct TransformOrientation *addMatrixSpace(struct bContext *C, float mat[3][3], | struct TransformOrientation *addMatrixSpace(struct bContext *C, float mat[3][3], | ||||
| const char *name, const bool overwrite); | const char *name, const bool overwrite); | ||||
| bool applyTransformOrientation(const struct bContext *C, float mat[3][3], char r_name[64], int index); | bool applyTransformOrientation(const struct TransformOrientation *ts, float r_mat[3][3], char r_name[64]); | ||||
| #define ORIENTATION_NONE 0 | #define ORIENTATION_NONE 0 | ||||
| #define ORIENTATION_NORMAL 1 | #define ORIENTATION_NORMAL 1 | ||||
| #define ORIENTATION_VERT 2 | #define ORIENTATION_VERT 2 | ||||
| #define ORIENTATION_EDGE 3 | #define ORIENTATION_EDGE 3 | ||||
| #define ORIENTATION_FACE 4 | #define ORIENTATION_FACE 4 | ||||
| int getTransformOrientation_ex(const struct bContext *C, float normal[3], float plane[3], const short around); | int getTransformOrientation_ex(const struct bContext *C, float normal[3], float plane[3], const short around); | ||||
| Show All 19 Lines | |||||