 |
PK_MFACET_ask_mvx_normals |
|
PK_ERROR_code_t PK_MFACET_ask_mvx_normals
(
--- received arguments ---
PK_MFACET_t mfacet, --- the 'mfacet'
const PK_MFACET_ask_mvx_normals_o_t *options, --- options
--- returned arguments ---
PK_VECTOR1_t mvx_normals[3] --- mvertex normals
)
This function returns the 'mvx_normals' stored at the mvertices of 'mfacet'.
Specific Errors:
PK_ERROR_eval_failure It was not possible to obtain normals. (MILD).
If normals are not stored, then averaged normals at the vertices are
calculated. This function will not alter the state of the mesh.
`mvx_normals[0]' is the normal at the mvertex pointed to by the mfin with
mfin_index = 0.
`mvx_normals[1]' is the normal at the mvertex pointed to by the mfin with
mfin_index = 1.
`mvx_normals[2]' is the normal at the mvertex pointed to by the mfin with
mfin_index = 2.