Changeset 5271 for anuga_work/development/anugavis/src/height_quantity.h
- Timestamp:
- May 2, 2008, 2:19:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/height_quantity.h
r5270 r5271 6 6 #endif 7 7 8 #if HAVE_STDINT_H 9 # include <stdint.h> 10 #endif 8 11 #ifdef HAVE_GL_GL_H 9 12 # include <GL/gl.h> … … 11 14 # include <OpenGL/gl.h> 12 15 #endif 13 #include <SDL.h> 14 15 struct height_quantity_simple{ 16 struct height_quantity_simple { 16 17 char *name; 17 18 uint8_t frames; 18 19 double offset; 19 20 double scale; 20 Uint32 color; 21 GLfloat red; 22 GLfloat green; 23 GLfloat blue; 21 24 GLuint displayLists; 22 25 struct height_quantity_simple *next; … … 28 31 extern int AnugaVis_DefineHeightQuantity(const char *name, 29 32 double offset, double scale, 30 int red, int green, int blue); 33 GLfloat red, GLfloat green, 34 GLfloat blue); 35 /* Draw a height quantity. 36 */ 37 extern void AnugaVis_DrawHeightQuantity(struct height_quantity_simple *height); 31 38 /* Undefine a given simple height quantity. 32 39 */
Note: See TracChangeset
for help on using the changeset viewer.