0028726: Quantity_NameOfColor should be replaced by Quantity_Color in function input...
[occt.git] / src / V3d / V3d_SpotLight.hxx
index 931d2eb..9034a5e 100644 (file)
@@ -47,7 +47,7 @@ public:
                                  const V3d_Coordinate theY,
                                  const V3d_Coordinate theZ,
                                  const V3d_TypeOfOrientation theDirection = V3d_XnegYnegZpos,
-                                 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,
                                  const Quantity_Coefficient theConcentration = 1.0,
@@ -67,7 +67,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,
                                  const Quantity_Coefficient theConcentration = 1.0,