Select Advanced function If you only use OpenLayer's functions you won't need to call this function. Even if you change the OpenGL's active color by calling this function or by calling glColor it won't affect OpenLayer's functions. Examples // Select black to be the active OpenGL color //
Rgba black( 0.0, 0.0, 0.0 ); black.Select(); // Same thing by using a color constant // Rgba::BLACK.Select(); // Also the following is possible: // Rgba( 0.0, 0.0, 0.0 ).Select(); Other functions of the class Rgba
Questions about Select? Click here. |