Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2011, 4:35:18 PM (13 years ago)
Author:
kmaurus
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceboundaries2/src/orxonox/graphics/Billboard.h

    r7492 r8604  
    2323 *      Fabian 'x3n' Landau
    2424 *   Co-authors:
     25 *      Maurus Kaufmann
    2526 *      ...
    2627 *
     
    3132
    3233#include "OrxonoxPrereqs.h"
     34
     35#include "OgreBillboardSet.h"
    3336
    3437#include "util/Math.h"
     
    6265                { return this->colour_; }
    6366
    64 /*
     67
    6568            inline void setRotation(const Radian& rotation)
    6669                { this->rotation_ = rotation; this->changedRotation(); }
    6770            inline const Radian& getRotation() const
    6871                { return this->rotation_; }
    69 */
     72
    7073
    7174            virtual void setTeamColour(const ColourValue& colour)
    7275                { 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
    7385
    7486        protected:
     
    8193            void registerVariables();
    8294            void changedMaterial();
    83             //void changedRotation();
     95            void changedRotation();
    8496
    8597            BillboardSet billboard_;
    8698            std::string material_;
    8799            ColourValue colour_;
    88             //Radian rotation_;
     100            Radian rotation_;
    89101    };
    90102}
Note: See TracChangeset for help on using the changeset viewer.