|
Blender V4.3
|
#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 118 of file BKE_mesh.hh.
| float blender::bke::mesh::CornerNormalSpace::ref_alpha |
Reference angle around vec_ortho, in [0, pi] range (0.0 marks space as invalid).
Definition at line 126 of file BKE_mesh.hh.
Referenced by 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 (0.0 marks space as invalid).
Definition at line 128 of file BKE_mesh.hh.
Referenced by 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 120 of file BKE_mesh.hh.
Referenced by BKE_lnor_space_custom_data_to_normal(), BKE_lnor_space_custom_normal_to_data(), 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 124 of file BKE_mesh.hh.
Referenced by 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.
Definition at line 122 of file BKE_mesh.hh.
Referenced by blender::bke::mesh::corner_space_custom_data_to_normal(), and blender::bke::mesh::corner_space_custom_normal_to_data().