------------------------------------------------------------------------------------------------------ Description: Helper function to convert RGBA color to BGRA. Attributes: color - color in RGBA format Return value: color in ARGB ------------------------------------------------------------------------------------------------------
| 16 | // color in ARGB |
| 17 | // ------------------------------------------------------------------------------------------------------ |
| 18 | inline unsigned SwizzleColor( unsigned color ) |
| 19 | { |
| 20 | return ( ( color & 0xff0000 ) >> 16 ) | ( color & 0xff00ff00 ) | ( ( color & 0xff ) << 16 ); |
| 21 | } |
| 22 | |
| 23 | TriLineSet::TriLineSet( IRoot* lockobj ) : |
| 24 | m_defaultColor( 0xffffffff ), |
no outgoing calls
no test coverage detected