Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2005, 2:36:03 PM (18 years ago)
Author:
bensch
Message:

heightMap: vertex-array draws as it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/lib/graphics/importer/vertex_array_model.h

    r6037 r6259  
    3939  void addNormal(float x, float y, float z);
    4040  void addTexCoor(float u, float v);
     41  void addColor(float r, float g, float b);
     42
    4143  void addIndice(GLubyte indice);
    4244
    4345  void finalize();
    4446
    45   // 
     47  //
    4648  void planeModel();
    4749
     
    5557  tArray<GLfloat>            normals;         //!< The Array that handles the Normals.
    5658  tArray<GLfloat>            texCoords;       //!< The Array that handles the VertexTextureCoordinates.
     59  tArray<GLfloat>            colors;          //!< The Array that handles Colors.
    5760
    5861  tArray<GLubyte>            indices;         //!< The Array that tells us what Vertex is connected to which other one.
Note: See TracChangeset for help on using the changeset viewer.