Changeset 11080 for code/trunk/src/orxonox/graphics/Billboard.cc
- Timestamp:
- Jan 19, 2016, 11:27:40 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/graphics/Billboard.cc
r11071 r11080 171 171 } 172 172 } 173 174 void Billboard::setRenderQueueGroup(unsigned char groupID) 175 { 176 Ogre::BillboardSet* bSet = this->billboard_.getBillboardSet(); 177 if( bSet != nullptr ) 178 { 179 bSet->setRenderQueueGroup(groupID); 180 } 181 } 182 183 void Billboard::disableFrustumCulling() 184 { 185 Ogre::BillboardSet* bSet = this->billboard_.getBillboardSet(); 186 if( bSet != nullptr ) 187 { 188 bSet->setBounds(Ogre::AxisAlignedBox(Ogre::AxisAlignedBox::EXTENT_INFINITE),0); 189 } 190 } 173 191 }
Note: See TracChangeset
for help on using the changeset viewer.