|
Blender V5.3
|
#include <BKE_mesh.h>
Public Attributes | |
| float | vec_lnor [3] |
| float | vec_ref [3] |
| float | vec_ortho [3] |
| float | ref_alpha |
| float | ref_beta |
| struct LinkNode * | loops |
| char | flags |
References a contiguous loop-fan. Combined with the automatically calculated face corner normal, this gives a dimensional coordinate space used to convert normals between the "custom normal" short2 representation and a regular float3 format.
Definition at line 248 of file BKE_mesh.h.
| char blender::MLoopNorSpace::flags |
Definition at line 282 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_add_loop(), blender::bm_loop_normal_mark_indiv_do_loop(), blender::bm_mesh_loops_assign_normal_data(), blender::bm_mesh_loops_split_lnor_fans(), blender::edbm_set_normals_from_faces_exec(), and blender::normals_merge().
| struct LinkNode* blender::MLoopNorSpace::loops |
All loops using this lnor space (i.e. smooth fan of loops), as (depending on owning MLoopNorSpaceArrary.data_type):
Definition at line 281 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_add_loop(), blender::bm_loop_normal_mark_indiv_do_loop(), blender::bm_mesh_loops_assign_normal_data(), blender::bm_mesh_loops_split_lnor_fans(), blender::edbm_set_normals_from_faces_exec(), and blender::normals_merge().
| float blender::MLoopNorSpace::ref_alpha |
Reference angle around vec_ortho, in (0, pi] range, between vec_lnor and the reference edge.
A 0.0 value marks that space as invalid, as it can only happen in extremely degenerate geometry cases (it would mean that the default normal is perfectly aligned with the reference edge).
Definition at line 265 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_custom_data_to_normal(), blender::BKE_lnor_space_custom_normal_to_data(), blender::BKE_lnor_space_define(), and blender::BM_lnorspace_err().
| float blender::MLoopNorSpace::ref_beta |
Reference angle around vec_lnor, in (0, 2pi] range, between the reference edge and the other border edge of the fan.
A 0.0 value marks that space as invalid, as it can only happen in degenerate geometry cases (it would mean that all the edges connected to that corner of the smooth fan are perfectly aligned).
Definition at line 274 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_custom_data_to_normal(), blender::BKE_lnor_space_custom_normal_to_data(), blender::BKE_lnor_space_define(), and blender::BM_lnorspace_err().
| float blender::MLoopNorSpace::vec_lnor[3] |
The automatically computed face corner normal, not including influence of custom normals.
Definition at line 250 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_custom_data_to_normal(), blender::BKE_lnor_space_custom_normal_to_data(), blender::BKE_lnor_space_define(), and blender::BM_lnorspace_err().
| float blender::MLoopNorSpace::vec_ortho[3] |
Third vector, orthogonal to vec_lnor and vec_ref.
Definition at line 257 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_custom_data_to_normal(), blender::BKE_lnor_space_custom_normal_to_data(), blender::BKE_lnor_space_define(), and blender::BM_lnorspace_err().
| float blender::MLoopNorSpace::vec_ref[3] |
Reference vector, orthogonal to vec_lnor, aligned with one of the edges (borders) of the smooth fan, called 'reference edge'.
Definition at line 255 of file BKE_mesh.h.
Referenced by blender::BKE_lnor_space_custom_data_to_normal(), blender::BKE_lnor_space_custom_normal_to_data(), blender::BKE_lnor_space_define(), and blender::BM_lnorspace_err().