1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Fixed Graphic3d_Vec4.hxx usage within Quantity_ColorRGBA.hxx

This commit is contained in:
emv
2019-12-11 09:38:04 +03:00
parent e011bf5e59
commit 744e788f5e

View 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,