0032121: Draw Harness, ViewerTest - implement -reset option for vlight command
[occt.git] / src / V3d / V3d_DirectionalLight.cxx
index ab4aa39..511252a 100644 (file)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(V3d_DirectionalLight,V3d_PositionLight)
 V3d_DirectionalLight::V3d_DirectionalLight (const V3d_TypeOfOrientation theDirection,
                                             const Quantity_Color& theColor,
                                             const Standard_Boolean theIsHeadlight)
-: V3d_PositionLight (Graphic3d_TOLS_DIRECTIONAL)
+: V3d_PositionLight (Graphic3d_TypeOfLightSource_Directional)
 {
   SetColor (theColor);
   SetHeadlight (theIsHeadlight);
@@ -38,7 +38,7 @@ V3d_DirectionalLight::V3d_DirectionalLight (const V3d_TypeOfOrientation theDirec
 V3d_DirectionalLight::V3d_DirectionalLight (const gp_Dir& theDirection,
                                             const Quantity_Color& theColor,
                                             const Standard_Boolean theIsHeadlight)
-: V3d_PositionLight (Graphic3d_TOLS_DIRECTIONAL)
+: V3d_PositionLight (Graphic3d_TypeOfLightSource_Directional)
 {
   SetColor (theColor);
   SetHeadlight (theIsHeadlight);