proj home

Files   Classes   Functions   Hierarchy  

pointsurfacetest.cpp File Reference

#include <zpr.h>
#include <graphmisc.h>
#include <pointsurfacetest.h>
#include <pointsurface.h>

Include dependency graph for pointsurfacetest.cpp:

Go to the source code of this file.

Functions

void pointsurfacetestdisplay01 ()
void pointsurfacetestkeyboard01 (unsigned char key, int x, int y)


Function Documentation

void pointsurfacetestdisplay01 (  ) 

Definition at line 11 of file pointsurfacetest.cpp.

References gobjContainer::draw(), glerrordisplay(), and gobj::global.

Referenced by pointsurfacetest::test01(), pointsurfacetest::test02(), and pointsurfacetest::test03().

00012 {
00013   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
00014 
00015   gobj::global->draw();
00016 
00017   glerrordisplay();
00018   
00019   glutSwapBuffers();
00020 }

void pointsurfacetestkeyboard01 ( unsigned char  key,
int  x,
int  y 
)

Definition at line 22 of file pointsurfacetest.cpp.

Referenced by pointsurfacetest::test01(), pointsurfacetest::test02(), and pointsurfacetest::test03().

00023 {
00024   switch (key)
00025   {
00026     case 27:
00027       exit(0);
00028       break;
00029   }
00030 }


Generated on Fri Mar 4 00:49:37 2011 for Chelton Evans Source by  doxygen 1.5.8