| 182 | } |
| 183 | |
| 184 | void Tr2RotationTool::ResetPrimitiveColors() |
| 185 | { |
| 186 | for( PrimitiveIterator it = m_primitives.begin(); it != m_primitives.end(); ++it ) |
| 187 | { |
| 188 | if( ( *it )->m_name == "x" ) |
| 189 | { |
| 190 | ( *it )->SetCurrentColor( (Color&)v4Red ); |
| 191 | } |
| 192 | else if( ( *it )->m_name == "y" ) |
| 193 | { |
| 194 | ( *it )->SetCurrentColor( (Color&)v4Green ); |
| 195 | } |
| 196 | else if( ( *it )->m_name == "z" ) |
| 197 | { |
| 198 | ( *it )->SetCurrentColor( (Color&)v4Blue ); |
| 199 | } |
| 200 | else if( ( *it )->m_name == "w" ) |
| 201 | { |
| 202 | ( *it )->SetCurrentColor( (Color&)v4Cyan ); |
| 203 | } |
| 204 | else if( ( *it )->m_name == "ww" ) |
| 205 | { |
| 206 | ( *it )->SetCurrentColor( (Color&)v4LightGray ); |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | void Tr2RotationTool::GetUnTransformedBaseVectors( Vector3& x, Vector3& y, Vector3& z ) |
| 212 | { |
nothing calls this directly
no test coverage detected