Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3089 in orxonox.OLD for orxonox/branches/images/importer/material.h


Ignore:
Timestamp:
Dec 4, 2004, 11:09:25 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/images: modularity improvement, loadTexToGL function, so that not each reader must implement it itself. (far from perfect)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/images/importer/material.h

    r3087 r3089  
    7171    int sizeX;
    7272    int sizeY;
    73     unsigned char *data;
     73    GLubyte *data;
    7474  };
    7575
     
    9191  bool loadJPG (char* jpgName, GLuint* texture);
    9292  void decodeJPG(jpeg_decompress_struct* cinfo, tImageJPG *pImageData);
     93
     94  bool loadTexToGL (int hight, int width, void* rawImage, GLuint* texture);
    9395};
    9496#endif
Note: See TracChangeset for help on using the changeset viewer.