|
Blender V5.0
|
#include <BKE_mesh.hh>
Public Attributes | |
| float3 | vec_lnor |
| float3 | vec_ref |
| float3 | vec_ortho |
| float | ref_alpha |
| float | ref_beta |
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 124 of file BKE_mesh.hh.
| float blender::bke::mesh::CornerNormalSpace::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 141 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), blender::bke::mesh::corner_fan_space_define(), blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().
| float blender::bke::mesh::CornerNormalSpace::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 150 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), blender::bke::mesh::corner_fan_space_define(), blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().
| float3 blender::bke::mesh::CornerNormalSpace::vec_lnor |
The automatically computed face corner normal, not including influence of custom normals.
Definition at line 126 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), blender::bke::mesh::corner_fan_space_define(), blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().
| float3 blender::bke::mesh::CornerNormalSpace::vec_ortho |
Third vector, orthogonal to vec_lnor and vec_ref.
Definition at line 133 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), blender::bke::mesh::corner_fan_space_define(), blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().
| float3 blender::bke::mesh::CornerNormalSpace::vec_ref |
Reference vector, orthogonal to vec_lnor, aligned with one of the edges (borders) of the smooth fan, called 'reference edge'.
Definition at line 131 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), BKE_lnor_space_define(), blender::bke::mesh::corner_fan_space_define(), blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().