0032121: Draw Harness, ViewerTest - implement -reset option for vlight command
[occt.git] / src / V3d / V3d_SpotLight.cxx
index faae6f9..e865c9a 100644 (file)
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(V3d_SpotLight,V3d_PositionLight)
 V3d_SpotLight::V3d_SpotLight (const gp_Pnt& thePos,
                               const V3d_TypeOfOrientation theDirection,
                               const Quantity_Color& theColor)
-: V3d_PositionLight (Graphic3d_TOLS_SPOT)
+: V3d_PositionLight (Graphic3d_TypeOfLightSource_Spot)
 {
   SetColor (theColor);
   SetPosition (thePos);
@@ -38,7 +38,7 @@ V3d_SpotLight::V3d_SpotLight (const gp_Pnt& thePos,
 V3d_SpotLight::V3d_SpotLight (const gp_Pnt& thePos,
                               const gp_Dir& theDirection,
                               const Quantity_Color& theColor)
-: V3d_PositionLight (Graphic3d_TOLS_SPOT)
+: V3d_PositionLight (Graphic3d_TypeOfLightSource_Spot)
 {
   SetColor (theColor);
   SetPosition (thePos);