IRIX fixes.

This commit is contained in:
ehofman
2005-04-26 09:08:58 +00:00
parent d37992aaf9
commit bb670f6658
2 changed files with 2 additions and 2 deletions

View 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);

View 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