MCPcopy Create free account
hub / github.com/beefytech/Beef / IsDefault

Method IsDefault

BeefySysLib/img/ImgEffects.cpp:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool ImageCurve::IsDefault()
148{
149 return (mPoints.size() == 2) && (mPoints[0].mX == 0) && (mPoints[0].mY == 0) && (mPoints[1].mX == 255.0f) && (mPoints[1].mY == 255.0f);
150}
151
152static uint32 LerpColor(uint32 color1, uint32 color2, float pct)
153{

Callers 1

ApplyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected