#include "main/glheader.h"
#include "main/config.h"
#include "m_eval.h"
Defines | |
#define | CN(I, J, K) cn[(I)*uinc+(J)*dim+(K)] |
#define | DCN(I, J) dcn[(I)*dcuinc+(J)] |
Functions | |
void | _math_horner_bezier_curve (const GLfloat *cp, GLfloat *out, GLfloat t, GLuint dim, GLuint order) |
void | _math_horner_bezier_surf (GLfloat *cn, GLfloat *out, GLfloat u, GLfloat v, GLuint dim, GLuint uorder, GLuint vorder) |
void | _math_de_casteljau_surf (GLfloat *cn, GLfloat *out, GLfloat *du, GLfloat *dv, GLfloat u, GLfloat v, GLuint dim, GLuint uorder, GLuint vorder) |
void | _math_init_eval (void) |
Variables | |
static GLfloat | inv_tab [MAX_EVAL_ORDER] |
#define CN | ( | I, | |||
J, | |||||
K | ) | cn[(I)*uinc+(J)*dim+(K)] |
#define DCN | ( | I, | |||
J | ) | dcn[(I)*dcuinc+(J)] |
void _math_de_casteljau_surf | ( | GLfloat * | cn, | |
GLfloat * | out, | |||
GLfloat * | du, | |||
GLfloat * | dv, | |||
GLfloat | u, | |||
GLfloat | v, | |||
GLuint | dim, | |||
GLuint | uorder, | |||
GLuint | vorder | |||
) |
void _math_horner_bezier_curve | ( | const GLfloat * | cp, | |
GLfloat * | out, | |||
GLfloat | t, | |||
GLuint | dim, | |||
GLuint | order | |||
) |
void _math_horner_bezier_surf | ( | GLfloat * | cn, | |
GLfloat * | out, | |||
GLfloat | u, | |||
GLfloat | v, | |||
GLuint | dim, | |||
GLuint | uorder, | |||
GLuint | vorder | |||
) |
void _math_init_eval | ( | void | ) |
GLfloat inv_tab[MAX_EVAL_ORDER] [static] |