C-KIT-GUI-GTK 0.62
surf2.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include <GL/glu.h>

Functions

void my_GL_errorhandler (GLenum errNo)
 
int draw_nurbSur ()
 
void tst_surf2_draw ()
 

Variables

double ctrlpt [4][3][3]
 
int vNr = 4
 
int uNr = 3
 
double pta [100]
 

Function Documentation

void my_GL_errorhandler ( GLenum  errNo)
int draw_nurbSur ( )
void tst_surf2_draw ( )

Variable Documentation

double ctrlpt[4][3][3]
Initial value:
= {{
{ -4.0f, 0.0f, 4.0f},
{ -2.0f, 4.0f, 4.0f},
{ 4.0f, 0.0f, 4.0f},
},{
{ -4.0f, 0.0f, 0.0f},
{ -2.0f, 4.0f, 0.0f},
{ 4.0f, 0.0f, 0.0f},
},{
{ -4.0f, 0.0f, -4.0f},
{ -2.0f, 4.0f, -4.0f},
{ 4.0f, 0.0f, -4.0f}
},{
{ -4.0f, 0.0f, -8.0f},
{ -2.0f, 4.0f, -8.0f},
{ 4.0f, 0.0f, -8.0f}
}}
int vNr = 4
int uNr = 3
double pta[100]