|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| void | BKE_displist_tangent_calc (const DispList *dl, float(*fnormals)[3], float(**r_tangent)[4]) |
| void BKE_displist_tangent_calc | ( | const DispList * | dl, |
| float(*) | fnormals[3], | ||
| float(**) | r_tangent[4] | ||
| ) |
Definition at line 223 of file displist_tangent.c.
References BLI_assert, SGLSLDisplistToTangent::dl, dl3_ts_GetNormal(), dl3_ts_GetNumFaces(), dl3_ts_GetNumVertsOfFace(), dl3_ts_GetPosition(), dl3_ts_GetTextureCoordinate(), dl3_ts_SetTSpace(), DL_CYCL_U, DL_CYCL_V, DL_INDEX3, DL_SURF, dlsurf_ts_GetNormal(), dlsurf_ts_GetNumFaces(), dlsurf_ts_GetNumVertsOfFace(), dlsurf_ts_GetPosition(), dlsurf_ts_GetTextureCoordinate(), dlsurf_ts_SetTSpace(), DispList::flag, genTangSpaceDefault(), SMikkTSpaceInterface::m_getNormal, SMikkTSpaceInterface::m_getNumFaces, SMikkTSpaceInterface::m_getNumVerticesOfFace, SMikkTSpaceInterface::m_getPosition, SMikkTSpaceInterface::m_getTexCoord, SMikkTSpaceContext::m_pInterface, SMikkTSpaceContext::m_pUserData, SMikkTSpaceInterface::m_setTSpaceBasic, MEM_mallocN, DispList::nr, NULL, DispList::parts, SGLSLDisplistToTangent::tangent, DispList::type, SGLSLDisplistToTangent::u_len, and SGLSLDisplistToTangent::v_len.
Referenced by DRW_displist_vertbuf_create_loop_pos_and_nor_and_uv_and_tan().