|
Blender
V3.3
|
Go to the source code of this file.
Classes | |
| struct | SMikkTSpaceInterface |
| struct | SMikkTSpaceContext |
Typedefs | |
| typedef int | tbool |
| typedef struct SMikkTSpaceContext | SMikkTSpaceContext |
Functions | |
| tbool | genTangSpaceDefault (const SMikkTSpaceContext *pContext) |
| tbool | genTangSpace (const SMikkTSpaceContext *pContext, const float fAngularThreshold) |
| typedef struct SMikkTSpaceContext SMikkTSpaceContext |
Definition at line 44 of file mikktspace.h.
| typedef int tbool |
Definition at line 44 of file mikktspace.h.
| tbool genTangSpace | ( | const SMikkTSpaceContext * | pContext, |
| const float | fAngularThreshold | ||
| ) |
Definition at line 258 of file mikktspace.c.
References STSpace::bOrient, Build4RuleGroups(), cosf, DegenEpilogue(), DegenPrologue(), STSpace::fMagS, STSpace::fMagT, free(), GenerateInitialVerticesIndexList(), GenerateSharedVerticesIndexList(), GenerateTSpaces(), GetPosition(), i1, STriInfo::iFlag, InitTriInfo(), SMikkTSpaceInterface::m_getNormal, SMikkTSpaceInterface::m_getNumFaces, SMikkTSpaceInterface::m_getNumVerticesOfFace, SMikkTSpaceInterface::m_getPosition, SMikkTSpaceInterface::m_getTexCoord, M_PI, SMikkTSpaceContext::m_pInterface, SMikkTSpaceInterface::m_setTSpace, SMikkTSpaceInterface::m_setTSpaceBasic, MARK_DEGENERATE, NULL, t, TFALSE, TTRUE, veq(), verts, STSpace::vOs, STSpace::vOt, SVec3::x, SVec3::y, and SVec3::z.
Referenced by genTangSpaceDefault().
| tbool genTangSpaceDefault | ( | const SMikkTSpaceContext * | pContext | ) |
Definition at line 253 of file mikktspace.c.
References genTangSpace().
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), DM_calc_loop_tangents_thread(), emDM_calc_loop_tangents_thread(), and mikk_compute_tangents().