Blender
V3.3
|
#include "scene/camera.h"
#include "scene/mesh.h"
#include "subd/dice.h"
#include "subd/patch.h"
#include "subd/split.h"
#include "util/algorithm.h"
#include "util/foreach.h"
#include "util/hash.h"
#include "util/math.h"
#include "util/types.h"
Go to the source code of this file.
Macros | |
#define | DSPLIT_NON_UNIFORM -1 |
#define | STITCH_NGON_CENTER_VERT_INDEX_OFFSET 0x60000000 |
#define | STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG (0x60000000 - 1) |
Functions | |
static void | order_float2 (float2 &a, float2 &b) |
static Edge * | create_edge_from_corner (DiagSplit *split, const Mesh *mesh, const Mesh::SubdFace &face, int corner, bool &reversed, int v0, int v1) |
static Edge * | create_split_edge_from_corner (DiagSplit *split, const Mesh *mesh, const Mesh::SubdFace &face, int corner, int side, bool &reversed, int v0, int v1, int vc) |
#define DSPLIT_NON_UNIFORM -1 |
Definition at line 21 of file subd/split.cpp.
#define STITCH_NGON_CENTER_VERT_INDEX_OFFSET 0x60000000 |
Definition at line 22 of file subd/split.cpp.
#define STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG (0x60000000 - 1) |
Definition at line 23 of file subd/split.cpp.
|
static |
Definition at line 354 of file subd/split.cpp.
References Freestyle::a, usdtokens::b(), mesh, mod(), Mesh::SubdFace::num_corners, blender::io::alembic::split(), Mesh::SubdFace::start_corner, swap(), and v1.
Referenced by DiagSplit::split_quad().
|
static |
Definition at line 421 of file subd/split.cpp.
References Freestyle::a, usdtokens::b(), mesh, mod(), Mesh::SubdFace::num_corners, blender::io::alembic::split(), Mesh::SubdFace::start_corner, swap(), and v1.
Referenced by DiagSplit::split_ngon().
Definition at line 40 of file subd/split.cpp.
References Freestyle::a, usdtokens::b(), and swap().