Changeset 6781 in orxonox.OLD for branches/network/src/lib/graphics/render2D/billboard.h
- Timestamp:
- Jan 26, 2006, 7:15:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/render2D/billboard.h
r6779 r6781 4 4 */ 5 5 6 #ifndef _ IMAGE_ENTITY_H7 #define _ IMAGE_ENTITY_H6 #ifndef _BILLBOARD_H 7 #define _BILLBOARD_H 8 8 9 9 #include "p_node.h" … … 14 14 15 15 16 // FORWARD DECLARATION 16 17 17 class Model; 18 18 class Material; … … 20 20 21 21 //! A class that enables the 22 class Billboard : public PNode, public Element2D { 22 class Billboard : public Element2D 23 { 23 24 24 25 public: … … 38 39 virtual void draw() const; 39 40 41 40 42 private: 41 Material* material; //!< a material for the Aim.43 Material* material; //!< a material for the Billboard 42 44 float rotationSpeed; //!< Speed of the Rotation. 43 bool bBillboarding; //!< true if billboarding is on 45 46 PNode* source; //!< the source attached to it 47 44 48 }; 45 49 46 #endif /* _ IMAGE_ENTITY_H */50 #endif /* _BILLBOARD_H */
Note: See TracChangeset
for help on using the changeset viewer.