| 114 | } |
| 115 | |
| 116 | void Tr2TranslationTool::ResetPrimitiveColors() |
| 117 | { |
| 118 | for( PrimitiveIterator it = m_primitives.begin(); it != m_primitives.end(); ++it ) |
| 119 | { |
| 120 | if( ( *it )->m_name == "x" ) |
| 121 | { |
| 122 | ( *it )->SetCurrentColor( (Color&)v4Red ); |
| 123 | } |
| 124 | else if( ( *it )->m_name == "y" ) |
| 125 | { |
| 126 | ( *it )->SetCurrentColor( (Color&)v4Green ); |
| 127 | } |
| 128 | else if( ( *it )->m_name == "z" ) |
| 129 | { |
| 130 | ( *it )->SetCurrentColor( (Color&)v4Blue ); |
| 131 | } |
| 132 | else if( ( *it )->m_name == "w" ) |
| 133 | { |
| 134 | ( *it )->SetCurrentColor( (Color&)v4Cyan ); |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | void Tr2TranslationTool::GenLineSets() |
| 140 | { |
nothing calls this directly
no test coverage detected