|
Blender V4.3
|
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) |
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 37 of file editmesh_tangent.cc.
Definition at line 62 of file editmesh_tangent.cc.
References BM_FACE_FIRST_LOOP, face_as_quad_map, l, looptris, and BMLoop::next.
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 108 of file editmesh_tangent.cc.
References BM_elem_flag_test, BM_elem_index_get, BM_ELEM_SMOOTH, corner_normals, BMLoop::f, face_normals, GetLoop(), l, BMFace::no, BMVert::no, and BMLoop::v.
|
inline |
Definition at line 38 of file editmesh_tangent.cc.
References num_face_as_quad_map, and numTessFaces.
Definition at line 47 of file editmesh_tangent.cc.
References face_as_quad_map, looptris, and UNUSED_VARS.
|
inline |
Definition at line 89 of file editmesh_tangent.cc.
References BMVert::co, GetLoop(), l, and BMLoop::v.
|
inline |
Definition at line 95 of file editmesh_tangent.cc.
References BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, cd_loop_uv_offset, GetLoop(), l, map_to_sphere(), orco, BMLoop::v, and v.
|
inline |
Definition at line 123 of file editmesh_tangent.cc.
References BM_elem_index_get, copy_v4_fl4(), GetLoop(), and l.
| int SGLSLEditMeshToTangent::cd_loop_uv_offset |
Definition at line 136 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetTexCoord().
Definition at line 134 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetNormal().
| const int* SGLSLEditMeshToTangent::face_as_quad_map |
Definition at line 144 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 133 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetNormal().
Definition at line 135 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), GetLoop(), and GetNumVerticesOfFace().
| int SGLSLEditMeshToTangent::num_face_as_quad_map |
Definition at line 145 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetNumFaces().
| int SGLSLEditMeshToTangent::numTessFaces |
Definition at line 139 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetNumFaces().
Definition at line 137 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc(), and GetTexCoord().
| float(* SGLSLEditMeshToTangent::tangent)[4] |
Definition at line 138 of file editmesh_tangent.cc.
Referenced by BKE_editmesh_loop_tangent_calc().