From Tom Jolly, "A new compiler and a new warning.
Enclosed is include/osgParticle/Particle. I removed the const from the return type of getSTexCoord. I also changed the name on the next function to getTTexCoord so it is consistent with getSTexCoord. If you prefer to change getSTexCoord to getSCoord you will need to change it in ConnectedParticleSystem.cpp."
This commit is contained in:
parent
85bb6b327d
commit
79b0060703
@ -141,10 +141,10 @@ namespace osgParticle
|
||||
inline float getCurrentAlpha() const { return _current_alpha; }
|
||||
|
||||
/// Get the s texture coordinate of the bottom left of the particle
|
||||
inline const float getSTexCoord() const { return _s_coord; }
|
||||
inline float getSTexCoord() const { return _s_coord; }
|
||||
|
||||
/// Get the t texture coordinate of the bottom left of the particle
|
||||
inline float getTCoord() const { return _t_coord; }
|
||||
inline float getTTexCoord() const { return _t_coord; }
|
||||
|
||||
/// Get width of texture tile
|
||||
inline int getTileS() const;
|
||||
|
Loading…
Reference in New Issue
Block a user