Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_mesh.h
| Show First 20 Lines • Show All 686 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Compute 'split' (aka loop, or per face corner's) normals. | * Compute 'split' (aka loop, or per face corner's) normals. | ||||
| * | * | ||||
| * \param r_lnors_spacearr: Allows to get computed loop normal space array. | * \param r_lnors_spacearr: Allows to get computed loop normal space array. | ||||
| * That data, among other things, contains 'smooth fan' info, useful e.g. | * That data, among other things, contains 'smooth fan' info, useful e.g. | ||||
| * to split geometry along sharp edges. | * to split geometry along sharp edges. | ||||
| */ | */ | ||||
| void BKE_mesh_calc_normals_split_ex(struct Mesh *mesh, | void BKE_mesh_calc_normals_split_ex(struct Mesh *mesh, | ||||
| struct MLoopNorSpaceArray *r_lnors_spacearr); | struct MLoopNorSpaceArray *r_lnors_spacearr, | ||||
| float (*r_corner_normals)[3]); | |||||
| /** | /** | ||||
| * Higher level functions hiding most of the code needed around call to | * Higher level functions hiding most of the code needed around call to | ||||
| * #BKE_mesh_normals_loop_custom_set(). | * #BKE_mesh_normals_loop_custom_set(). | ||||
| * | * | ||||
| * \param r_custom_loopnors: is not const, since code will replace zero_v3 normals there | * \param r_custom_loopnors: is not const, since code will replace zero_v3 normals there | ||||
| * with automatically computed vectors. | * with automatically computed vectors. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 325 Lines • Show Last 20 Lines | |||||