proj home

Files   Classes   Functions   Hierarchy  

OpenGLtemplatedtest.cpp

Go to the documentation of this file.
00001 #include <OpenGLtemplated.h>
00002 
00003 #include <OpenGLtemplatedtest.h>
00004 
00005 
00006 
00007 void OpenGLtemplatedtest::test01(int argc, char** argv)
00008 {
00009   // Just compile.
00010 
00011   glVertex3T<float>()(.2,.3,0.0);
00012 
00013   glVertex4T<GLshort>()(10,24,192,29);
00014 
00015   glVertex2T<GLdouble>()(0.2,0.3);
00016 
00017   double v1[] = { .2, .3, .6 };
00018   glVertex4Tv<GLdouble>()(v1);
00019 
00020   glTranslateT<GLdouble>()(.2,.3,.7);
00021 
00022   glNormal3T<GLdouble>()(0.5,-.2,-0.7);
00023 
00024   glColor3T<GLdouble>()(0.2,.1,.3);
00025 
00026   double v2[] = { 0.2,0.3,.9 };
00027   glColor3Tv<GLdouble>()(v2);
00028 
00029   glVertex2T<GLdouble>()(0.3,0.1);
00030 }
00031 

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