|
Blender V4.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 22 of file subd/split.cpp.
Referenced by DiagSplit::split_quad().
| #define STITCH_NGON_CENTER_VERT_INDEX_OFFSET 0x60000000 |
Definition at line 23 of file subd/split.cpp.
Referenced by DiagSplit::split_ngon().
| #define STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG (0x60000000 - 1) |
Definition at line 24 of file subd/split.cpp.
Referenced by DiagSplit::post_split(), and DiagSplit::split_ngon().
|
static |
Definition at line 354 of file subd/split.cpp.
References b, Edge::end_vert_index, Edge::is_stitch_edge, mod(), Mesh::SubdFace::num_corners, split(), Mesh::SubdFace::start_corner, Edge::start_vert_index, Edge::stitch_edge_key, Edge::stitch_end_vert_index, Edge::stitch_start_vert_index, and swap.
Referenced by DiagSplit::split_quad().
|
static |
Definition at line 421 of file subd/split.cpp.
References b, Edge::end_vert_index, Edge::is_stitch_edge, mod(), Mesh::SubdFace::num_corners, split(), Mesh::SubdFace::start_corner, Edge::start_vert_index, Edge::stitch_edge_key, Edge::stitch_end_vert_index, Edge::stitch_start_vert_index, and swap.
Referenced by DiagSplit::split_ngon().