Blender  V2.93
BKE_crazyspace.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2008 Blender Foundation.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 struct BMEditMesh;
30 struct Depsgraph;
31 struct Mesh;
32 struct Object;
33 struct Scene;
34 
35 /* crazyspace.c */
37  struct Object *obedit))[3];
39  float (*origcos)[3],
40  float (*mappedcos)[3],
41  float (*quats)[4],
42  const bool use_select);
43 void BKE_crazyspace_set_quats_mesh(struct Mesh *me,
44  float (*origcos)[3],
45  float (*mappedcos)[3],
46  float (*quats)[4]);
48  struct Scene *,
49  struct Object *,
50  struct BMEditMesh *em,
51  float (**deformmats)[3][3],
52  float (**deformcos)[3]);
54  struct Scene *scene,
55  struct Object *ob,
56  float (**deformmats)[3][3],
57  float (**deformcos)[3]);
59  struct Scene *scene,
60  struct Object *ob,
61  float (**deformmats)[3][3],
62  float (**deformcos)[3]);
63 
64 #ifdef __cplusplus
65 }
66 #endif
typedef float(TangentPoint)[2]
void BKE_crazyspace_set_quats_mesh(struct Mesh *me, float(*origcos)[3], float(*mappedcos)[3], float(*quats)[4])
Definition: crazyspace.c:192
void BKE_crazyspace_build_sculpt(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float(**deformmats)[3][3], float(**deformcos)[3])
Definition: crazyspace.c:440
void BKE_crazyspace_set_quats_editmesh(struct BMEditMesh *em, float(*origcos)[3], float(*mappedcos)[3], float(*quats)[4], const bool use_select)
Definition: crazyspace.c:130
int BKE_crazyspace_get_first_deform_matrices_editbmesh(struct Depsgraph *depsgraph, struct Scene *, struct Object *, struct BMEditMesh *em, float(**deformmats)[3][3], float(**deformcos)[3])
Definition: crazyspace.c:250
int BKE_sculpt_get_first_deform_matrices(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float(**deformmats)[3][3], float(**deformcos)[3])
Definition: crazyspace.c:367
float(* BKE_crazyspace_get_mapped_editverts(struct Depsgraph *depsgraph, struct Object *obedit))[3]
Definition: crazyspace.c:102
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:51
Scene scene
const Depsgraph * depsgraph