Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2005, 6:54:35 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more functionality to material
now it is possible to add an external Material, and it handles pointers instead of char-arrays

File:
1 edited

Legend:

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

    r3657 r3801  
    5454    FaceElement* firstElem; //!< Points to the first Vertex (FaceElement) of this Face.
    5555
    56     char* materialString;   //!< The Name of the Material to which to Change.
     56    Material* material;     //!< The Material to use.
    5757
    5858    Face* next;             //!< Pointer to the next Face.
     
    106106  bool addVertexTexture(const float u, const float v);
    107107  bool addUseMtl(char* mtlString);
     108  bool addUseMtl(Material* mtl);
    108109  void finalize(void);
    109110
Note: See TracChangeset for help on using the changeset viewer.