Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 26, 2006, 7:15:22 PM (18 years ago)
Author:
patrick
Message:

network: billboard compiles again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/graphics/render2D/billboard.h

    r6779 r6781  
    44 */
    55
    6 #ifndef _IMAGE_ENTITY_H
    7 #define _IMAGE_ENTITY_H
     6#ifndef _BILLBOARD_H
     7#define _BILLBOARD_H
    88
    99#include "p_node.h"
     
    1414
    1515
    16 // FORWARD DECLARATION
     16
    1717class Model;
    1818class Material;
     
    2020
    2121//! A class that enables the
    22 class Billboard : public PNode, public Element2D {
     22class Billboard :  public Element2D
     23{
    2324
    2425  public:
     
    3839    virtual void draw() const;
    3940
     41
    4042  private:
    41     Material*        material;             //!< a material for the Aim.
     43    Material*        material;             //!< a material for the Billboard
    4244    float            rotationSpeed;        //!< Speed of the Rotation.
    43     bool             bBillboarding;        //!< true if billboarding is on
     45
     46    PNode*           source;               //!< the source attached to it
     47
    4448};
    4549
    46 #endif /* _IMAGE_ENTITY_H */
     50#endif /* _BILLBOARD_H */
Note: See TracChangeset for help on using the changeset viewer.