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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user