Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 19, 2016, 11:05:02 PM (8 years ago)
Author:
landauf
Message:

bugfix: the attached objects are stored in a set, so there's no guarantee about the order of the elements. store the billboards of the lens flare in an ordered vector to ensure that the billboards are updated with the correct parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/shaders_merge/src/orxonox/graphics/LensFlare.h

    r11078 r11079  
    178178            std::vector<Lens> lensConfiguration_;//!< this stores the lensConfiguration
    179179            Billboard* occlusionBillboard_;//!< this is a transparent billboard used solely for the Hardware Occlusion Query
     180            std::vector<Billboard*> billboards_; //!< The visible billboards
     181
    180182            float scale_;//!< this factor is used to scale the billboard to the desired size
    181183            bool fadeOnViewBorder_;//!< should the effect fade out on the border of the view?
Note: See TracChangeset for help on using the changeset viewer.