Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5390 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 16, 2005, 2:25:22 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed Array to tArray

Location:
trunk/src/lib/graphics
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/model.cc

    r5308 r5390  
    162162  this->scaleFactor = 1;
    163163
    164   this->vertices = new Array<GLfloat>();
    165   this->vTexture = new Array<GLfloat>();
    166   this->normals = new Array<GLfloat>();
     164  this->vertices = new tArray<GLfloat>();
     165  this->vTexture = new tArray<GLfloat>();
     166  this->normals = new tArray<GLfloat>();
    167167
    168168  this->materialList = new tList<ModelMaterial>;
  • trunk/src/lib/graphics/importer/model.h

    r5321 r5390  
    1515
    1616// FORWARD DEFINITION //
    17 template<class T> class Array;
     17template<class T> class tArray;
    1818template<class T> class tList;
    1919
     
    184184  unsigned int           faceCount;       //!< A modelwide Counter for the faces
    185185  unsigned int           triangleCount;   //!< Number of triangles >= faceCount
    186   Array<GLfloat>*        vertices;        //!< The Array that handles the Vertices.
    187   Array<GLfloat>*        normals;         //!< The Array that handles the Normals.
    188   Array<GLfloat>*        vTexture;        //!< The Array that handles the VertexTextureCoordinates.
     186  tArray<GLfloat>*       vertices;        //!< The Array that handles the Vertices.
     187  tArray<GLfloat>*       normals;         //!< The Array that handles the Normals.
     188  tArray<GLfloat>*       vTexture;        //!< The Array that handles the VertexTextureCoordinates.
    189189  sTriangleExt*          triangles;       //!< The Array of triangles in the abstract_model.h style
    190190
  • trunk/src/lib/graphics/shader.cc

    r5364 r5390  
    126126
    127127
    128   Array<char*>* program = fileReadArray(fileName);
     128  tArray<char*>* program = fileReadArray(fileName);
    129129  if (program == NULL)
    130130    return false;
     
    190190
    191191
    192 Array<char*>* Shader::fileReadArray(const char* fileName)
     192tArray<char*>* Shader::fileReadArray(const char* fileName)
    193193{
    194194  FILE*    stream;           //< The stream we use to read the file.
     
    199199    return NULL;
    200200  }
    201   Array<char*>* file = new Array<char*>;
     201  tArray<char*>* file = new tArray<char*>;
    202202
    203203  char lineBuffer[PARSELINELENGHT];
  • trunk/src/lib/graphics/shader.h

    r5323 r5390  
    1010#include "glincl.h"
    1111
    12 template<class T> class Array;
     12template<class T> class tArray;
    1313
    1414typedef enum
     
    3838
    3939  char* fileRead(const char* fileName);
    40   Array<char*>* fileReadArray(const char* fileName);
     40  tArray<char*>* fileReadArray(const char* fileName);
    4141
    4242  static bool checkShaderAbility();
Note: See TracChangeset for help on using the changeset viewer.