|
Blender
V2.93
|
#include "render/camera.h"#include "render/mesh.h"#include "subd/subd_dice.h"#include "subd/subd_patch.h"#include "subd/subd_split.h"#include "util/util_algorithm.h"#include "util/util_foreach.h"#include "util/util_hash.h"#include "util/util_math.h"#include "util/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 34 of file subd_split.cpp.
| #define STITCH_NGON_CENTER_VERT_INDEX_OFFSET 0x60000000 |
Definition at line 35 of file subd_split.cpp.
| #define STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG (0x60000000 - 1) |
Definition at line 36 of file subd_split.cpp.
|
static |
Definition at line 367 of file subd_split.cpp.
References Freestyle::a, Edge::end_vert_index, Edge::is_stitch_edge, mesh, mod(), Mesh::SubdFace::num_corners, blender::io::alembic::split(), Mesh::SubdFace::start_corner, Edge::start_vert_index, Edge::stitch_edge_key, Edge::stitch_end_vert_index, Edge::stitch_start_vert_index, swap(), and v1.
Referenced by DiagSplit::split_quad().
|
static |
Definition at line 434 of file subd_split.cpp.
References Freestyle::a, Edge::end_vert_index, Edge::is_stitch_edge, mesh, mod(), Mesh::SubdFace::num_corners, blender::io::alembic::split(), Mesh::SubdFace::start_corner, Edge::start_vert_index, Edge::stitch_edge_key, Edge::stitch_end_vert_index, Edge::stitch_start_vert_index, swap(), and v1.
Referenced by DiagSplit::split_ngon().
Definition at line 53 of file subd_split.cpp.
References Freestyle::a, swap(), float2::x, and float2::y.