Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2005, 3:50:11 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: TrackElement and Material are BaseObjects now

File:
1 edited

Legend:

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

    r4466 r4584  
    88#ifndef _MATERIAL_H
    99#define _MATERIAL_H
     10#include "base_object.h"
    1011
    11 
    12 #if HAVE_CONFIG_H
    13 #include <config.h>
     12#if HAVE_CONFIG_H
     13#include <config.h>
    1414#endif /* HAVE_CONFIG_H */
    1515
     
    2222
    2323//! Class to handle Materials.
    24 class Material
     24class Material : public BaseObject
    2525{
    2626 public:
     
    3030  bool select (void);
    3131
    32   void setName (const char* mtlName);
    33   char* getName (void);
    3432  void setIllum (int illum);
    3533  void setIllum (char* illum);
     
    5452
    5553 private:
    56   char*       name;             //!< The Name of the Material.
    5754  int         illumModel;       //!< The IlluminationModel is either flat or smooth.
    5855  float       diffuse [4];      //!< The diffuse color of the Material.
Note: See TracChangeset for help on using the changeset viewer.