proj home

Files   Classes   Functions   Hierarchy  

OpenGLtemplatedtest Class Reference

#include <OpenGLtemplatedtest.h>

List of all members.

Public Member Functions

void test01 (int argc, char **argv)


Detailed Description

Definition at line 4 of file OpenGLtemplatedtest.h.


Member Function Documentation

void OpenGLtemplatedtest::test01 ( int  argc,
char **  argv 
)

Definition at line 7 of file OpenGLtemplatedtest.cpp.

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 }


The documentation for this class was generated from the following files:

Generated on Fri Mar 4 00:50:07 2011 for Chelton Evans Source by  doxygen 1.5.8