Blender
V3.3
|
Go to the source code of this file.
Functions | |
static void | crossProduct (int64_t res[3], const int64_t a[3], const int64_t b[3]) |
static void | crossProduct (double res[3], const double a[3], const double b[3]) |
static int64_t | dotProduct (const int64_t a[3], const int64_t b[3]) |
static void | normalize (double a[3]) |
static void | create_projection_axes (int64_t axes[NUM_AXES][3], const int64_t tri[3][3]) |
Variables | |
const int | vertmap [8][3] |
const int | centmap [3][3][3][2] |
const int | edgemap [12][2] |
const int | facemap [6][4] |
Definition at line 98 of file Projections.cpp.
References crossProduct().
Referenced by CubeTriangleIsect::CubeTriangleIsect().
Definition at line 62 of file Projections.cpp.
References Freestyle::a, and usdtokens::b().
Method to perform cross-product
Definition at line 55 of file Projections.cpp.
References Freestyle::a, and usdtokens::b().
Referenced by create_projection_axes(), and CubeTriangleIsect::CubeTriangleIsect().
Method to perform dot product
Definition at line 72 of file Projections.cpp.
References Freestyle::a, and usdtokens::b().
Referenced by CubeTriangleIsect::CubeTriangleIsect().
Definition at line 77 of file Projections.cpp.
References Freestyle::a, and sqrt().
Referenced by CubeTriangleIsect::CubeTriangleIsect().
const int centmap[3][3][3][2] |
Definition at line 21 of file Projections.cpp.
const int edgemap[12][2] |
Definition at line 28 of file Projections.cpp.
const int facemap[6][4] |
Definition at line 43 of file Projections.cpp.
Referenced by ED_draw_object_facemap(), ED_gizmo_draw_preset_facemap(), ED_object_facemap_face_add(), and ED_object_facemap_face_remove().
const int vertmap[8][3] |
Structures and classes for computing projections of triangles onto separating axes during scan conversion
Definition at line 10 of file Projections.cpp.
Referenced by CubeTriangleIsect::CubeTriangleIsect().