Math: make MSVC 2015 correctly pick up the float*VectorNi operator.
This complier is making my hair gray. Fortunately the out-of-class
operator doesn't conflict with the in-class one, so it's purely an
additive workaround. Adding extra checks to all subclasses to be sure
this works correctly in all cases and not just in the base class.
@ -715,6 +715,10 @@ template<class T> class Color3: public Vector3<T> {
MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(3,Color3)
};
#ifdef CORRADE_MSVC2015_COMPATIBILITY
MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(3,Color3)
#endif
/**
@briefColorinlinearRGBAcolorspace
@ -1184,6 +1188,10 @@ class Color4: public Vector4<T> {
MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(4,Color4)
};
#ifdef CORRADE_MSVC2015_COMPATIBILITY
MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(4,Color4)
#endif
/** @relatesalso Color3
@briefConvertcolorfrom[CIExyYrepresentation](https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space) to CIE XYZ