Converts @a color to a max color. @a color must be valid.*/
| 30 | |
| 31 | /** Converts @a color to a max color. @a color must be valid.*/ |
| 32 | Color toMaxColor( const COLLADAFW::Color& color ) |
| 33 | { |
| 34 | assert(color.isValid()); |
| 35 | return Color(color.getRed(), color.getGreen(), color.getBlue()); |
| 36 | } |
| 37 | |
| 38 | /** Converts @a colorOrTexture to a max color. @a colorOrTexture must be a valid color.*/ |
| 39 | Color toMaxColor( const COLLADAFW::ColorOrTexture& colorOrTexture ) |