Changeset View
Changeset View
Standalone View
Standalone View
intern/opensubdiv/opensubdiv_evaluator_capi.h
| Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | typedef struct OpenSubdiv_Evaluator { | ||||
| // Evaluate given ptex face at given bilinear coordinate. | // Evaluate given ptex face at given bilinear coordinate. | ||||
| // If derivatives are NULL, they will not be evaluated. | // If derivatives are NULL, they will not be evaluated. | ||||
| void (*evaluateLimit)(struct OpenSubdiv_Evaluator* evaluator, | void (*evaluateLimit)(struct OpenSubdiv_Evaluator* evaluator, | ||||
| const int ptex_face_index, | const int ptex_face_index, | ||||
| float face_u, float face_v, | float face_u, float face_v, | ||||
| float P[3], float dPdu[3], float dPdv[3]); | float P[3], float dPdu[3], float dPdv[3]); | ||||
| void (*evaluateLimit2)(struct OpenSubdiv_Evaluator* evaluator, | |||||
| const int ptex_face_index, | |||||
| float face_u, float face_v, | |||||
| float P[3], | |||||
| float dPdu[3], | |||||
| float dPdv[3], | |||||
| float dPduu[3], | |||||
| float dPduv[3], | |||||
| float dPdvv[3]); | |||||
| // Evaluate varying data at a given bilinear coordinate of given ptex face. | // Evaluate varying data at a given bilinear coordinate of given ptex face. | ||||
| void (*evaluateVarying)(struct OpenSubdiv_Evaluator* evaluator, | void (*evaluateVarying)(struct OpenSubdiv_Evaluator* evaluator, | ||||
| const int ptex_face_index, | const int ptex_face_index, | ||||
| float face_u, float face_v, | float face_u, float face_v, | ||||
| float varying[3]); | float varying[3]); | ||||
| // Evaluate face-varying data at a given bilinear coordinate of given | // Evaluate face-varying data at a given bilinear coordinate of given | ||||
| // ptex face. | // ptex face. | ||||
| Show All 21 Lines | |||||