Blender  V3.3
Macros | Functions
subd/split.cpp File Reference
#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 Edgecreate_edge_from_corner (DiagSplit *split, const Mesh *mesh, const Mesh::SubdFace &face, int corner, bool &reversed, int v0, int v1)
 
static Edgecreate_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)
 

Macro Definition Documentation

◆ DSPLIT_NON_UNIFORM

#define DSPLIT_NON_UNIFORM   -1

Definition at line 21 of file subd/split.cpp.

◆ STITCH_NGON_CENTER_VERT_INDEX_OFFSET

#define STITCH_NGON_CENTER_VERT_INDEX_OFFSET   0x60000000

Definition at line 22 of file subd/split.cpp.

◆ STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG

#define STITCH_NGON_SPLIT_EDGE_CENTER_VERT_TAG   (0x60000000 - 1)

Definition at line 23 of file subd/split.cpp.

Function Documentation

◆ create_edge_from_corner()

static Edge* create_edge_from_corner ( DiagSplit split,
const Mesh mesh,
const Mesh::SubdFace face,
int  corner,
bool reversed,
int  v0,
int  v1 
)
static

◆ create_split_edge_from_corner()

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 
)
static

◆ order_float2()

static void order_float2 ( float2 a,
float2 b 
)
static

Definition at line 40 of file subd/split.cpp.

References Freestyle::a, usdtokens::b(), and swap().