Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2011, 1:11:04 PM (14 years ago)
Author:
FelixSchulthess
Message:

space boundary billboard is now animated. test run with myTestLevel.oxw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/graphics/Billboard.cc

    r8614 r8710  
    145145        }
    146146    }
    147    
    148     void Billboard::setCommonDirection(Vector3 vec)
    149     {
    150         Ogre::BillboardSet* bSet = this->billboard_.getBillboardSet();
    151         if( bSet != NULL )
    152         {
    153             bSet->setCommonDirection( vec );
    154         }
    155     }
    156            
    157     void Billboard::setCommonUpVector(Vector3 vec)
    158     {
    159         Ogre::BillboardSet* bSet = this->billboard_.getBillboardSet();
    160         if( bSet != NULL )
    161         {
    162             bSet->setCommonUpVector( vec );
    163         }
    164     }
    165    
    166     void Billboard::setDefaultDimensions(float width, float height)
    167     {
    168         Ogre::BillboardSet* bSet = this->billboard_.getBillboardSet();
    169         if( bSet != NULL )
    170         {
    171             bSet->setDefaultDimensions(width, height);
    172         }
    173     }
    174147}
Note: See TracChangeset for help on using the changeset viewer.