| 282 | } |
| 283 | |
| 284 | void Tr2ScalingTool::ResetPrimitiveColors() |
| 285 | { |
| 286 | for( PrimitiveIterator it = m_primitives.begin(); it != m_primitives.end(); ++it ) |
| 287 | { |
| 288 | if( ( *it )->m_name == "x" ) |
| 289 | { |
| 290 | ( *it )->SetCurrentColor( (Color&)v4Red ); |
| 291 | } |
| 292 | else if( ( *it )->m_name == "y" ) |
| 293 | { |
| 294 | ( *it )->SetCurrentColor( (Color&)v4Green ); |
| 295 | } |
| 296 | else if( ( *it )->m_name == "z" ) |
| 297 | { |
| 298 | ( *it )->SetCurrentColor( (Color&)v4Blue ); |
| 299 | } |
| 300 | else if( ( *it )->m_name == "w" ) |
| 301 | { |
| 302 | ( *it )->SetCurrentColor( (Color&)v4Cyan ); |
| 303 | } |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | void Tr2ScalingTool::GenLineSets() |
| 308 | { |
nothing calls this directly
no test coverage detected