core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

m_eval.c File Reference

#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 Documentation

#define CN ( I,
J,
 )     cn[(I)*uinc+(J)*dim+(K)]

#define DCN ( I,
 )     dcn[(I)*dcuinc+(J)]


Function Documentation

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   ) 


Variable Documentation

GLfloat inv_tab[MAX_EVAL_ORDER] [static]


Generated on Sun Sep 27 06:47:50 2009 for Mesa math module by  doxygen 1.5.4