Ignore:
Timestamp:
May 2, 2008, 2:19:54 PM (16 years ago)
Author:
jack
Message:

AnugaVis?: Something's drawing. Starting work on event handling to get motion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anugavis/src/height_quantity.h

    r5270 r5271  
    66#endif
    77
     8#if HAVE_STDINT_H
     9#  include <stdint.h>
     10#endif
    811#ifdef HAVE_GL_GL_H
    912#  include <GL/gl.h>
     
    1114#  include <OpenGL/gl.h>
    1215#endif
    13 #include <SDL.h>
    14 
    15 struct height_quantity_simple{
     16struct height_quantity_simple {
    1617  char *name;
    1718  uint8_t frames;
    1819  double offset;
    1920  double scale;
    20   Uint32 color;
     21  GLfloat red;
     22  GLfloat green;
     23  GLfloat blue;
    2124  GLuint displayLists;
    2225  struct height_quantity_simple *next;
     
    2831extern int AnugaVis_DefineHeightQuantity(const char *name,
    2932                                         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 */
     37extern void AnugaVis_DrawHeightQuantity(struct height_quantity_simple *height);
    3138/* Undefine a given simple height quantity.
    3239 */
Note: See TracChangeset for help on using the changeset viewer.