| 181 | |
| 182 | #if defined( MRIOEXTRAS_OPENCASCADE_USE_XDE ) && STEP_LOAD_COLORS |
| 183 | Color toColor( const Quantity_ColorRGBA& rgba ) |
| 184 | { |
| 185 | const auto& rgb = rgba.GetRGB(); |
| 186 | return { (float)rgb.Red(), (float)rgb.Green(), (float)rgb.Blue(), rgba.Alpha() }; |
| 187 | } |
| 188 | #endif |
| 189 | |
| 190 | Vector3d toVector( const gp_XYZ& xyz ) |