Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 10, 2004, 3:54:08 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: reimplemented class material. searcher works now, all options are really set.

File:
1 edited

Legend:

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

    r2776 r2778  
    1111  Material ();
    1212  Material (char* mtlName);
     13  Material* addMaterial(char* mtlName);
     14
    1315  void init(void);
    1416  ~Material ();
    15  
     17
     18
    1619  void setName (char* mtlName);
     20  char* getName (void);
    1721  void setIllum (int illum);
    1822  void setIllum (char* illum);
     
    2630  void setTransparency (char* trans);
    2731
     32  Material* search (char* mtlName);
    2833
    2934  bool select (void);
    3035
     36  Material* nextMat;
     37
    3138 private:
    32   char* name;
     39  char name [50];
    3340  int illumModel;
    3441  float diffuse [3];
     
    3744  float transparency;
    3845
    39   Material* nextMat;
    40   static Material* firstMat;
    41   static Material* currentMat;
    4246};
    4347#endif
Note: See TracChangeset for help on using the changeset viewer.