osgEarth 2.1.1
|
Go to the source code of this file.
Classes | |
struct | ImageRequest |
Functions | |
static void | outlineTexture (osg::Image *image) |
static void outlineTexture | ( | osg::Image * | image | ) | [static] |
Definition at line 139 of file MeshManager.cpp.
{ for( int s=1; s<image->s()-1; ++s ) { *((unsigned int*)image->data( s, 1 )) = 0x00ff00ff; *((unsigned int*)image->data( s, image->t()-2 )) = 0x00ff00ff; } for( int t=1; t<image->t()-1; ++t ) { *((unsigned int*)image->data( 1, t )) = 0x00ff00ff; *((unsigned int*)image->data( image->s()-2, t )) = 0x00ff00ff; } }