Blender V5.3
ED_transverts.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct Object;
14struct bContext;
15
16struct TransVert {
17 float *loc;
18 float oldloc[3], maploc[3];
19 float normal[3];
20 int flag;
21};
22
28
33void ED_transverts_create_from_obedit(TransVertStore *tvs, const Object *obedit, int mode);
36bool ED_transverts_check_obedit(const Object *obedit);
38
39/* currently only used for bmesh index values */
40enum {
47};
48
49/* mode flags: */
50enum {
52 TM_ALL_JOINTS = (1 << 0),
54 TM_SKIP_HANDLES = (1 << 1),
56 TM_CALC_NORMALS = (1 << 2),
58 TM_CALC_MAPLOC = (1 << 2),
59};
60
61enum {
62 /* SELECT == (1 << 0) */
67};
68
69} // namespace blender
#define C
Definition RandGen.cpp:29
BMesh Iterators.
void ED_transverts_update_obedit(TransVertStore *tvs, Object *obedit)
@ TX_VERT_USE_MAPLOC
@ TX_VERT_USE_NORMAL
bool ED_transverts_poll(bContext *C)
void ED_transverts_create_from_obedit(TransVertStore *tvs, const Object *obedit, int mode)
void ED_transverts_free(TransVertStore *tvs)
bool ED_transverts_check_obedit(const Object *obedit)