0028726: Quantity_NameOfColor should be replaced by Quantity_Color in function input...
[occt.git] / src / V3d / V3d_PositionalLight.hxx
index 0feede3..a395316 100644 (file)
@@ -43,7 +43,7 @@ public:
                                        const V3d_Coordinate theX,
                                        const V3d_Coordinate theY,
                                        const V3d_Coordinate theZ,
-                                       const Quantity_NameOfColor theColor = Quantity_NOC_WHITE,
+                                       const Quantity_Color& theColor = Quantity_NOC_WHITE,
                                        const Quantity_Coefficient theConstAttenuation = 1.0,
                                        const Quantity_Coefficient theLinearAttenuation = 0.0);
 
@@ -65,7 +65,7 @@ public:
                                        const V3d_Coordinate theXp,
                                        const V3d_Coordinate theYp,
                                        const V3d_Coordinate theZp,
-                                       const Quantity_NameOfColor theColor = Quantity_NOC_WHITE,
+                                       const Quantity_Color& theColor = Quantity_NOC_WHITE,
                                        const Quantity_Coefficient theConstAttenuation = 1.0,
                                        const Quantity_Coefficient theLinearAttenuation = 0.0);