33#ifndef _BEZIERPATCHMESH_H
34#define _BEZIERPATCHMESH_H
74bezierPatchMesh *
bezierPatchMeshMake(
int maptype,
float umin,
float umax,
int ustride,
int uorder,
float vmin,
float vmax,
int vstride,
int vorder,
float *ctlpoints,
int size_UVarray,
int size_length_array);
79void bezierPatchMeshPutPatch(
bezierPatchMesh *bpm,
int maptype,
float umin,
float umax,
int ustride,
int uorder,
float vmin,
float vmax,
int vstride,
int vorder,
float *ctlpoints);
void bezierPatchMeshListDraw(bezierPatchMesh *list)
int bezierPatchMeshListNumTriangles(bezierPatchMesh *list)
int bezierPatchMeshNumTriangles(bezierPatchMesh *bpm)
void bezierPatchMeshInsertUV(bezierPatchMesh *bpm, float u, float v)
void bezierPatchMeshEndStrip(bezierPatchMesh *bpm)
void bezierPatchMeshDraw(bezierPatchMesh *bpm)
void bezierPatchMeshPutPatch(bezierPatchMesh *bpm, int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints)
void bezierPatchMeshBeginStrip(bezierPatchMesh *bpm, GLenum type)
void bezierPatchMeshListPrint(bezierPatchMesh *list)
void bezierPatchMeshListDelete(bezierPatchMesh *list)
void bezierPatchMeshListEval(bezierPatchMesh *list)
bezierPatchMesh * bezierPatchMeshMake(int maptype, float umin, float umax, int ustride, int uorder, float vmin, float vmax, int vstride, int vorder, float *ctlpoints, int size_UVarray, int size_length_array)
void bezierPatchMeshListCollect(bezierPatchMesh *list, float **vertex_array, float **normal_array, int **length_array, GLenum **type_array, int *num_strips)
bezierPatchMesh * bezierPatchMeshListReverse(bezierPatchMesh *list)
int bezierPatchMeshListTotalStrips(bezierPatchMesh *list)
int bezierPatchMeshListTotalVert(bezierPatchMesh *list)
bezierPatchMesh * bezierPatchMeshListInsert(bezierPatchMesh *list, bezierPatchMesh *bpm)
void bezierPatchMeshEval(bezierPatchMesh *bpm)
void bezierPatchMeshPrint(bezierPatchMesh *bpm)
void drawStrips(float *vertex_array, float *normal_array, int *length_array, GLenum *type_array, int num_strips)
bezierPatchMesh * bezierPatchMeshMake2(int size_UVarray, int size_length_array)
void bezierPatchMeshListDelDeg(bezierPatchMesh *list)
void bezierPatchMeshDelDeg(bezierPatchMesh *bpm)
void bezierPatchMeshDelete(bezierPatchMesh *bpm)
GLuint GLuint GLsizei GLenum type
GLdouble GLdouble GLint ustride
GLdouble GLdouble GLint GLint uorder
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint vorder
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint vstride
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
struct bezierPatchMesh * next
bezierPatch * bpatch_color
bezierPatch * bpatch_texcoord
bezierPatch * bpatch_normal