|
Blender V5.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) |
| 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 34 of file editmesh_tangent.cc.
|
inline |
Definition at line 59 of file editmesh_tangent.cc.
References BM_FACE_FIRST_LOOP, face_as_quad_map, blender::l, looptris, and blender::BMLoop::next.
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 105 of file editmesh_tangent.cc.
References BM_elem_flag_test, BM_elem_index_get, blender::BM_ELEM_SMOOTH, corner_normals, blender::BMLoop::f, face_normals, GetLoop(), blender::l, blender::BMFace::no, blender::BMVert::no, and blender::BMLoop::v.
|
inline |
Definition at line 35 of file editmesh_tangent.cc.
References num_face_as_quad_map, and numTessFaces.
Definition at line 44 of file editmesh_tangent.cc.
References face_as_quad_map, looptris, and UNUSED_VARS.
|
inline |
Definition at line 86 of file editmesh_tangent.cc.
References blender::BMVert::co, GetLoop(), blender::l, and blender::BMLoop::v.
|
inline |
Definition at line 92 of file editmesh_tangent.cc.
References BM_ELEM_CD_GET_VOID_P, BM_elem_index_get, cd_loop_uv_offset, GetLoop(), has_uv(), blender::l, blender::map_to_sphere(), orco, blender::BMLoop::v, and blender::v.
|
inline |
Definition at line 130 of file editmesh_tangent.cc.
References cd_loop_uv_offset.
Referenced by GetTexCoord().
|
inline |
Definition at line 120 of file editmesh_tangent.cc.
References BM_elem_index_get, blender::copy_v4_fl4(), GetLoop(), blender::l, T, and tangent.
| int blender::SGLSLEditMeshToTangent::cd_loop_uv_offset |
Definition at line 138 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), GetTexCoord(), and has_uv().
Definition at line 136 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and GetNormal().
| const int* blender::SGLSLEditMeshToTangent::face_as_quad_map |
Definition at line 146 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 135 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and GetNormal().
Definition at line 137 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), GetLoop(), and GetNumVerticesOfFace().
| int blender::SGLSLEditMeshToTangent::num_face_as_quad_map |
Definition at line 147 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and GetNumFaces().
| int blender::SGLSLEditMeshToTangent::numTessFaces |
Definition at line 141 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and GetNumFaces().
Definition at line 139 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and GetTexCoord().
| float(* blender::SGLSLEditMeshToTangent::tangent)[4] |
Definition at line 140 of file editmesh_tangent.cc.
Referenced by blender::BKE_editmesh_orco_tangents_calc(), and SetTangentSpace().