diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-10 16:40:19 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-10 16:40:19 +0000 |
| commit | 2b4b055204ca592f83e8b0fd8b44015f23c7248f (patch) | |
| tree | 680f208b285ddaacaabdb693772ddd34584f1641 /test/CubeView.h | |
| parent | 51c3b154dd186b8d6d849c75b367fbe8c9091fc3 (diff) | |
Updated not to use v3f() macro.
No longer use glColor4ub(), as 1) Sun's compilers have trouble with their
own headers with this (glColor4ub is a macro, a VERY bad thing to do!), and
2) it's an OpenGL 1.1 feature, and not all platforms support it.
Also optimized the QUAD and LINE primitives.
git-svn-id: file:///fltk/svn/fltk/trunk@404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/CubeView.h')
| -rw-r--r-- | test/CubeView.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/CubeView.h b/test/CubeView.h index 39bddcb42..2099b60d9 100644 --- a/test/CubeView.h +++ b/test/CubeView.h @@ -1,5 +1,5 @@ // -// "$Id: CubeView.h,v 1.3 1999/03/04 20:26:00 mike Exp $" +// "$Id: CubeView.h,v 1.4 1999/03/10 16:40:19 mike Exp $" // // CubeView class definitions for the Fast Light Tool Kit (FLTK). // @@ -37,9 +37,6 @@ #include <stdlib.h> -// shorthand to save some bits. -#define v3f(x) glVertex3fv(x) - #if HAVE_GL class CubeView : public Fl_Gl_Window { #else @@ -122,5 +119,5 @@ private: #endif // -// End of "$Id: CubeView.h,v 1.3 1999/03/04 20:26:00 mike Exp $". +// End of "$Id: CubeView.h,v 1.4 1999/03/10 16:40:19 mike Exp $". // |
