- Timestamp:
- May 26, 2011, 4:35:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceboundaries2/src/orxonox/graphics/Billboard.h
r7492 r8604 23 23 * Fabian 'x3n' Landau 24 24 * Co-authors: 25 * Maurus Kaufmann 25 26 * ... 26 27 * … … 31 32 32 33 #include "OrxonoxPrereqs.h" 34 35 #include "OgreBillboardSet.h" 33 36 34 37 #include "util/Math.h" … … 62 65 { return this->colour_; } 63 66 64 /* 67 65 68 inline void setRotation(const Radian& rotation) 66 69 { this->rotation_ = rotation; this->changedRotation(); } 67 70 inline const Radian& getRotation() const 68 71 { return this->rotation_; } 69 */ 72 70 73 71 74 virtual void setTeamColour(const ColourValue& colour) 72 75 { this->setColour(colour); } 76 77 void setBillboardType(Ogre::BillboardType bbt); 78 79 void setCommonDirection(Vector3 vec); //!< normalised Vector vec as argument 80 81 void setCommonUpVector(Vector3 vec); //!< normalised Vector vec as argument 82 83 void setDefaultDimensions(float width, float height); 84 73 85 74 86 protected: … … 81 93 void registerVariables(); 82 94 void changedMaterial(); 83 //void changedRotation();95 void changedRotation(); 84 96 85 97 BillboardSet billboard_; 86 98 std::string material_; 87 99 ColourValue colour_; 88 //Radian rotation_;100 Radian rotation_; 89 101 }; 90 102 }
Note: See TracChangeset
for help on using the changeset viewer.