From 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 00:55:11 +1100 Subject: Cleanup: move public doc-strings into headers for 'editors' Ref T92709 --- .../blender/editors/transform/transform_orientations.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source/blender/editors/transform/transform_orientations.c') diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 61bbe722d71..fa2485c33c2 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -315,11 +315,6 @@ bool createSpaceNormal(float mat[3][3], const float normal[3]) return true; } -/** - * \note To recreate an orientation from the matrix: - * - (plane == mat[1]) - * - (normal == mat[2]) - */ bool createSpaceNormalTangent(float mat[3][3], const float normal[3], const float tangent[3]) { if (normalize_v3_v3(mat[2], normal) == 0.0f) { @@ -503,15 +498,6 @@ void ED_transform_calc_orientation_from_type(const bContext *C, float r_mat[3][3 scene, view_layer, v3d, rv3d, ob, obedit, orient_index, pivot_point, r_mat); } -/** - * \note The resulting matrix may not be orthogonal, - * callers that depend on `r_mat` to be orthogonal should use #orthogonalize_m3. - * - * A non orthogonal matrix may be returned when: - * - #V3D_ORIENT_GIMBAL the result won't be orthogonal unless the object has no rotation. - * - #V3D_ORIENT_LOCAL may contain shear from non-uniform scale in parent/child relationships. - * - #V3D_ORIENT_CUSTOM may have been created from #V3D_ORIENT_LOCAL. - */ short ED_transform_calc_orientation_from_type_ex(const Scene *scene, ViewLayer *view_layer, const View3D *v3d, @@ -602,9 +588,6 @@ short ED_transform_calc_orientation_from_type_ex(const Scene *scene, return orientation_index; } -/* Sets the matrix of the specified space orientation. - * If the matrix cannot be obtained, an orientation different from the one - * informed is returned */ short transform_orientation_matrix_get(bContext *C, TransInfo *t, short orient_index, -- cgit v1.2.3