]> git.mxchange.org Git - simgear.git/commitdiff
IRIX fixes.
authorehofman <ehofman>
Tue, 26 Apr 2005 09:08:58 +0000 (09:08 +0000)
committerehofman <ehofman>
Tue, 26 Apr 2005 09:08:58 +0000 (09:08 +0000)
simgear/scene/sky/cloudfield.cxx
simgear/scene/sky/newcloud.cxx

index 8555af202d541dd513f43320249e81632a024523..b5bef13fc03a4aa89fb236cbd9e611dc4d8e135c 100644 (file)
@@ -376,7 +376,7 @@ void SGCloudField::Render(void) {
                        cullClouds(fieldPos, tmp);
                }
        // sort all visible clouds back to front (because of transparency)
-       sort( inViewClouds.begin(), inViewClouds.end() );
+       std::sort( inViewClouds.begin(), inViewClouds.end() );
  
        // TODO:push states
        glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
index 6ceb9dbb18832e62c1a56a4b5664d10f8c08c69d..917d8065bcd1a5c4260b6b1684159260f74b8654 100644 (file)
@@ -386,7 +386,7 @@ void SGNewCloud::sortSprite( sgVec3 eye ) {
                sgSubVec3( dist, iSprite->pos, eye );
                iSprite->dist = -(dist[0]*dist[0] + dist[1]*dist[1] + dist[2]*dist[2]);
        }
-       sort( list_spriteDef.begin(), list_spriteDef.end() );
+       std::sort( list_spriteDef.begin(), list_spriteDef.end() );
 }
 
 // render the cloud on screen or on the RTT texture to build the impostor