mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
@@ -38,26 +38,11 @@ class RivTernaryScalarMapperEffectGenerator : public caf::EffectGenerator
|
||||
public:
|
||||
RivTernaryScalarMapperEffectGenerator( const RivTernaryScalarMapper* scalarMapper, caf::PolygonOffset polygonOffset );
|
||||
|
||||
void setOpacityLevel( float opacity )
|
||||
{
|
||||
m_opacityLevel = cvf::Math::clamp( opacity, 0.0f, 1.0f );
|
||||
}
|
||||
void setUndefinedColor( cvf::Color3f color )
|
||||
{
|
||||
m_undefinedColor = color;
|
||||
}
|
||||
void setFaceCulling( caf::FaceCulling faceCulling )
|
||||
{
|
||||
m_faceCulling = faceCulling;
|
||||
}
|
||||
void enableDepthWrite( bool enableWrite )
|
||||
{
|
||||
m_enableDepthWrite = enableWrite;
|
||||
}
|
||||
void disableLighting( bool disable )
|
||||
{
|
||||
m_disableLighting = disable;
|
||||
}
|
||||
void setOpacityLevel( float opacity ) { m_opacityLevel = cvf::Math::clamp( opacity, 0.0f, 1.0f ); }
|
||||
void setUndefinedColor( cvf::Color3f color ) { m_undefinedColor = color; }
|
||||
void setFaceCulling( caf::FaceCulling faceCulling ) { m_faceCulling = faceCulling; }
|
||||
void enableDepthWrite( bool enableWrite ) { m_enableDepthWrite = enableWrite; }
|
||||
void disableLighting( bool disable ) { m_disableLighting = disable; }
|
||||
|
||||
public:
|
||||
static bool isImagesEqual( const cvf::TextureImage* texImg1, const cvf::TextureImage* texImg2 );
|
||||
|
||||
Reference in New Issue
Block a user