|
Blender V4.5
|
Public Member Functions | |
| uint | GetNumFaces () |
| uint | GetNumVerticesOfFace (const uint face_num) |
| mikk::float3 | GetPosition (const uint face_num, const uint vert_num) |
| mikk::float3 | GetTexCoord (const uint face_num, const uint vert_num) |
| mikk::float3 | GetNormal (const uint face_num, const uint vert_num) |
| void | SetTangentSpace (const uint face_num, const uint vert_num, mikk::float3 T, bool orientation) |
Public Attributes | |
| OffsetIndices< int > | faces |
| const int * | corner_verts |
| const float(* | positions )[3] |
| const float(* | luvs )[2] |
| const float(* | corner_normals )[3] |
| float(* | tangents )[4] |
| int | num_faces |
Definition at line 39 of file mesh_tangent.cc.
|
inline |
Definition at line 62 of file mesh_tangent.cc.
References corner_normals, and faces.
|
inline |
Definition at line 40 of file mesh_tangent.cc.
References num_faces.
Definition at line 45 of file mesh_tangent.cc.
|
inline |
Definition at line 50 of file mesh_tangent.cc.
References corner_verts, faces, and positions.
|
inline |
Definition at line 56 of file mesh_tangent.cc.
|
inline |
Definition at line 67 of file mesh_tangent.cc.
References copy_v4_fl4(), faces, T, and tangents.
| const float(* BKEMeshToTangent::corner_normals)[3] |
Definition at line 77 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and GetNormal().
| const int* BKEMeshToTangent::corner_verts |
Definition at line 74 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and GetPosition().
| OffsetIndices<int> BKEMeshToTangent::faces |
Definition at line 73 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), GetNormal(), GetNumVerticesOfFace(), GetPosition(), GetTexCoord(), and SetTangentSpace().
| const float(* BKEMeshToTangent::luvs)[2] |
Definition at line 76 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and GetTexCoord().
| int BKEMeshToTangent::num_faces |
Definition at line 79 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and GetNumFaces().
| const float(* BKEMeshToTangent::positions)[3] |
Definition at line 75 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and GetPosition().
| float(* BKEMeshToTangent::tangents)[4] |
Definition at line 78 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_single_ex(), and SetTangentSpace().