|
Blender V5.0
|
Public Member Functions | |
| uint | GetNumFaces () |
| uint | GetNumVerticesOfFace (const uint face_num) |
| const BMLoop * | GetLoop (const uint face_num, uint vert_index) |
| mikk::float3 | GetPosition (const uint face_num, const uint vert_index) |
| mikk::float3 | GetTexCoord (const uint face_num, const uint vert_index) |
| mikk::float3 | GetNormal (const uint face_num, const uint vert_index) |
| void | SetTangentSpace (const uint face_num, const uint vert_index, mikk::float3 T, bool orientation) |
| bool | has_uv () |
Public Attributes | |
| Span< float3 > | face_normals |
| Span< float3 > | corner_normals |
| Span< std::array< BMLoop *, 3 > > | looptris |
| int | cd_loop_uv_offset |
| Span< float3 > | orco |
| float(* | tangent )[4] |
| int | numTessFaces |
| const int * | face_as_quad_map |
| int | num_face_as_quad_map |
Definition at line 38 of file editmesh_tangent.cc.
Definition at line 63 of file editmesh_tangent.cc.
References BM_FACE_FIRST_LOOP, face_as_quad_map, l, and looptris.
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 109 of file editmesh_tangent.cc.
References BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SMOOTH, corner_normals, face_normals, GetLoop(), and l.
|
inline |
Definition at line 39 of file editmesh_tangent.cc.
References num_face_as_quad_map, and numTessFaces.
Definition at line 48 of file editmesh_tangent.cc.
References face_as_quad_map, looptris, and UNUSED_VARS.
|
inline |
Definition at line 90 of file editmesh_tangent.cc.
|
inline |
Definition at line 96 of file editmesh_tangent.cc.
References BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, cd_loop_uv_offset, GetLoop(), has_uv(), l, map_to_sphere(), orco, and v.
|
inline |
Definition at line 134 of file editmesh_tangent.cc.
References cd_loop_uv_offset.
Referenced by GetTexCoord().
|
inline |
Definition at line 124 of file editmesh_tangent.cc.
References BM_elem_index_get, copy_v4_fl4(), GetLoop(), l, T, and tangent.
| int SGLSLEditMeshToTangent::cd_loop_uv_offset |
Definition at line 142 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), GetTexCoord(), and has_uv().
Definition at line 140 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and GetNormal().
| const int* SGLSLEditMeshToTangent::face_as_quad_map |
Definition at line 150 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 139 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and GetNormal().
Definition at line 141 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), GetLoop(), and GetNumVerticesOfFace().
| int SGLSLEditMeshToTangent::num_face_as_quad_map |
Definition at line 151 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and GetNumFaces().
| int SGLSLEditMeshToTangent::numTessFaces |
Definition at line 145 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and GetNumFaces().
Definition at line 143 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and GetTexCoord().
| float(* SGLSLEditMeshToTangent::tangent)[4] |
Definition at line 144 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_orco_tangents_calc(), and SetTangentSpace().