]> OCCT Git - occt-copy.git/commitdiff
Fixed Graphic3d_Vec4.hxx usage within Quantity_ColorRGBA.hxx
authoremv <emv@opencascade.com>
Wed, 11 Dec 2019 06:38:04 +0000 (09:38 +0300)
committeremv <emv@opencascade.com>
Wed, 11 Dec 2019 06:38:04 +0000 (09:38 +0300)
src/Quantity/Quantity_ColorRGBA.cxx

index b7ade567a5a82adb7a65ae0e9f0848ba7667b90a..0ca0ddfcc6bf835233e84a7a7fc70b8a61a28d92 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <Quantity_ColorRGBA.hxx>
 
-#include <Graphic3d_Vec4.hxx>
+#include <NCollection_Vec4.hxx>
 
 #include <algorithm>
 
@@ -68,7 +68,7 @@ namespace
     Standard_ASSERT_RETURN (theColorComponentBase >= 2,
                             __FUNCTION__ ": 'theColorComponentBase' must be greater than 1.",
                             0.0f);
-    Graphic3d_Vec4 aColor (1.0f);
+    NCollection_Vec4<float> aColor (1.0f);
     if (hasAlphaComponent)
     {
       const Standard_ShortReal anAlphaComponent = takeColorComponentFromInteger (theColorInteger,