A3DSurfEvaluateNormal

A3DStatus A3DSurfEvaluateNormal(const A3DSurfBase *pSurf, const A3DVector2dData *pUVParameter, A3DVector3dData *pNormal)
A3DStatus A3DSurfEvaluateNormal(const A3DSurfBase* pSurf, const A3DVector2dData* pUVParameter, A3DVector3dData* pNormal)

Function to evaluate a normal on a surface.

Parameters

pSurf: The input surface.

pUVParameter: The input UV point to evaluate the normal of the surface.

pNormal: The normal of the surface at the UV parameter.

Returns

A3D_SUCCESS on success, or an error code on failure